Skip to content

Commit 2e40f2f

Browse files
authored
Added automatic shutoff as default
1 parent 1389bbc commit 2e40f2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ def generate_config():
178178
f = open("user-data", "w")
179179
f.write("#cloud-config\n")
180180
f.write("autoinstall:\n")
181+
f.write(" shutdown: poweroff\n")
181182
f.write(" version: 1\n")
182183
f.write(" identity:\n")
183184
f.write(f" hostname: {hostname}\n")

0 commit comments

Comments
 (0)