envsubst hack
qemu fix and more
This commit is contained in:
@@ -71,12 +71,17 @@ autoinstall:
|
||||
- path: /home/${TARGET_USER}/first_install.sh
|
||||
permissions: "0755"
|
||||
owner: ${TARGET_USER}:${TARGET_USER}
|
||||
# |
|
||||
# envsubst hack \ /
|
||||
# `
|
||||
content: |
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
if [[ "$${Q}EUID" -ne 0 ]]; then
|
||||
echo "This script must be run as root"
|
||||
exit 1
|
||||
fi
|
||||
chown ${TARGET_USER}:${TARGET_USER} -R /home/${TARGET_USER}/nocloud/
|
||||
netplan generate || true
|
||||
netplan apply || true
|
||||
bash -x /home/${TARGET_USER}/nocloud/post-install.sh main
|
||||
|
||||
# - path: /etc/himmelblau/himmelblau.conf
|
||||
|
||||
Reference in New Issue
Block a user