adding install script

This commit is contained in:
Philippe Caseiro 2022-12-02 12:31:26 +01:00
parent ead6298aa7
commit 41f93fcf15
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
target=$(xargs -n1 -a /proc/cmdline | awk -F '=' '/^flatcar.target=.*/ {print $NF}') target=$(xargs -n1 -a /proc/cmdline | awk -F '=' '/^flatcar.target=.*/ {print $NF}')
flatcar-install -d ${target} -i /opt/ignition.json && udevadm settle && systemctl reboot" flatcar-install -d ${target} -i /opt/ignition.json && udevadm settle && systemctl reboot