bashrc test
This commit is contained in:
@@ -32,12 +32,13 @@ autoinstall:
|
||||
shutdown: reboot
|
||||
late-commands:
|
||||
- curl -m 10 --retry 5 http://23.88.102.139:8000/ping/07bf78a8-67c5-4ffb-834d-e9dc660b162a
|
||||
- curl -o /target/etc/systemd/system/hello_world.service http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/hello_world.service
|
||||
- chmod +x /target/etc/systemd/system/hello_world.service
|
||||
# - curl -o /target/etc/systemd/system/hello_world.service http://23.88.102.139/gitea/sre/ld-install/raw/branch/main/files/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
|
||||
- chmod +x /target/root/hello_world.sh
|
||||
- curtin in-target -- systemctl daemon-reload
|
||||
- curtin in-target -- systemctl enable hello_world.service
|
||||
# - curtin in-target -- systemctl daemon-reload
|
||||
# - curtin in-target -- systemctl enable hello_world.service
|
||||
- curtin in-target -- echo 'exec /root/hello_world.sh;bash' >> /root/.bashrc
|
||||
user-data:
|
||||
hostname: ldhost
|
||||
chpasswd:
|
||||
|
||||
Reference in New Issue
Block a user