This repository was archived by the owner on Jan 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ coreos:
111111 [Service]
112112 User=root
113113 Type=oneshot
114- ExecStart=/bin/sh -c "modprobe dummy; ip link set dummy0 up; ifconfig dummy0 1.1.1.1/32"
114+ ExecStartPre=/bin/sh -c "modprobe dummy"
115+ ExecStartPre=-/bin/sh -c "ip link add dummy0 type dummy"
116+ ExecStartPre=/bin/sh -c "ip link set dummy0 up"
117+ ExecStartPre=-/bin/sh -c "ifconfig dummy0 inet6 add 2001:db8:1:1::1/64"
118+ ExecStart=/bin/sh -c "ifconfig dummy0 1.1.1.1/32"
115119`
116120}
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ func (s Service) UserData() string {
3838
3939 [Service]
4040 Type=oneshot
41- ExecStartPre=/usr/bin/docker pull dosxvpn/strongswan- updater
42- ExecStart=/usr/bin/docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock dosxvpn/strongswan- updater
41+ ExecStartPre=/usr/bin/docker pull dosxvpn/updater:latest
42+ ExecStart=/usr/bin/docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock dosxvpn/updater:latest
4343 - name: dosxvpn-update.timer
4444 enable: true
4545 command: start
@@ -64,8 +64,8 @@ func (s Service) UserData() string {
6464 EnvironmentFile=/etc/environment
6565 ExecStartPre=-/usr/bin/docker kill dosxvpn
6666 ExecStartPre=-/usr/bin/docker rm dosxvpn
67- ExecStartPre=/usr/bin/docker pull dosxvpn/strongswan
68- ExecStart=/usr/bin/docker run --name dosxvpn --privileged --net=host -v ipsec.d:/etc/ipsec.d -v strongswan.d:/etc/strongswan.d -v /lib/modules:/lib/modules -v /etc/localtime:/etc/localtime -e VPN_DOMAIN=$public_ipv4 dosxvpn/strongswan
67+ ExecStartPre=/usr/bin/docker pull dosxvpn/strongswan:latest
68+ ExecStart=/usr/bin/docker run --name dosxvpn --privileged --net=host -v ipsec.d:/etc/ipsec.d -v strongswan.d:/etc/strongswan.d -v /lib/modules:/lib/modules -v /etc/localtime:/etc/localtime -e VPN_DOMAIN=$public_ipv4 dosxvpn/strongswan:latest
6969 ExecStop=/usr/bin/docker stop dosxvpn
7070`
7171}
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ func (s Service) UserData() string {
3131 ExecStartPre=-/usr/bin/docker kill pihole
3232 ExecStartPre=-/usr/bin/docker rm pihole
3333 ExecStartPre=/usr/bin/docker pull diginc/pi-hole:latest
34- ExecStart=/usr/bin/docker run --name pihole --net=host -e ServerIP=1.1.1.1 -e WEBPASSWORD=dosxvpn diginc/pi-hole:latest
34+ ExecStart=/usr/bin/docker run --name pihole --net=host -e ServerIP=1.1.1.1 -e ServerIPv6=2001:db8:1:1::1 -e WEBPASSWORD=dosxvpn -v pihole-etc:/etc/pihole -v pihole-dnsmasq.d:/etc/dnsmasq.d diginc/pi-hole:latest
3535 ExecStop=/usr/bin/docker stop pihole`
3636}
You can’t perform that action at this time.
0 commit comments