enable service
This commit is contained in:
@@ -36,6 +36,8 @@ autoinstall:
|
|||||||
- chmod +x /target/etc/systemd/system/hello_world.service
|
- chmod +x /target/etc/systemd/system/hello_world.service
|
||||||
- curl -o /target/root/hello_world.sh http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.sh
|
- curl -o /target/root/hello_world.sh http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.sh
|
||||||
- chmod +x /target/root/hello_world.sh
|
- chmod +x /target/root/hello_world.sh
|
||||||
|
- curtin in-target -- systemctl daemon-reload
|
||||||
|
- curtin in-target -- systemctl enable hello_world.sh
|
||||||
user-data:
|
user-data:
|
||||||
hostname: ldhost
|
hostname: ldhost
|
||||||
chpasswd:
|
chpasswd:
|
||||||
|
|||||||
Reference in New Issue
Block a user