File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ services:
13
13
- ./config:/root/.config/i3/config
14
14
- /data/valley_saves:/root/.config/StardewValley/Saves/
15
15
devices :
16
- # - /dev/dsp:/dev/dsp
17
16
- /dev/snd:/dev/snd
18
17
entrypoint :
19
18
- /bin/sh
20
19
- /init.sh
21
- cpus : 0.5
22
- cpuset : ' 2 '
20
+ # cpus: 2
21
+ # cpuset: 0,1
23
22
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ if [ ! -d /data/Stardew ]; then
4
4
5
5
echo " Downloading Game"
6
6
mkdir -p /data/Stardew
7
- mkdir -p /data/nexus
8
7
wget https://eris.cc/Stardew_latest.tar -qO /data/latest.tar
9
8
10
9
echo " Unpacking"
@@ -16,7 +15,8 @@ if [ ! -f /data/nexus.tar ]; then
16
15
wget https://github.com/Pathoschild/SMAPI/releases/download/2.11.1/SMAPI-2.11.1-installer.zip -qO /data/nexus.zip
17
16
18
17
echo " Unpacking Modloader"
19
- unzip nexus.zip -d /data/nexus/
18
+ mkdir -p /data/nexus
19
+ unzip /data/nexus.zip -d /data/nexus/
20
20
21
21
echo " Installing Modloader"
22
22
/bin/bash -c " echo -e \" 2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 2.11.1\ installer/internal/unix-install.exe"
@@ -35,6 +35,7 @@ apt-get install -y xterm i3
35
35
Xvfb :10 -screen 0 1000x1000x24 -ac &
36
36
export DISPLAY=:10.0
37
37
x11vnc -display :10 -forever -shared -loop &
38
+ sleep 10
38
39
i3 &
39
40
40
41
TERM=xterm
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ resource "hcloud_server" "game_node" {
36
36
}
37
37
38
38
working_dir = " ."
39
- command = " ansible-playbook -u root --private-key ./ssh/key ../playbook.yml -i ${ self . ipv4_address } ,"
39
+ command = " ANSIBLE_HOST_KEY_CHECKING=false ansible-playbook -u root --private-key ./ssh/key ../playbook.yml -i ${ self . ipv4_address } ,"
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments