From 1f6ca7f08921aa15b9908617801d4e38b8f7a1fd Mon Sep 17 00:00:00 2001 From: bri <284789+b-@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:58:42 -0500 Subject: [PATCH] Update post-install.sh --- main/post-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main/post-install.sh b/main/post-install.sh index 8813327..0298aed 100755 --- a/main/post-install.sh +++ b/main/post-install.sh @@ -16,6 +16,11 @@ if [[ "-nvidia" == "${NVIDIA_TAG}" ]]; then systemctl enable ublue-nvctk-cdi.service fi +mkdir -p /etc/cloud/cloud.cfg.d +tee /etc/cloud/cloud.cfg.d/99_pve.cfg <<'EOF' +# /etc/cloud/cloud.cfg.d/99_pve.cfg +datasource_list: [ NoCloud, ConfigDrive ] +EOF ## ALWAYS: regular post-install systemctl disable docker.socket @@ -33,4 +38,4 @@ rm /etc/ssh/sshd_config.d/40-disable-passwords.conf ln -s ../usr/share/zoneinfo/UTC /etc/localtime # switch to server profile to allow cockpit by default -cp -a /etc/firewalld/firewalld-server.conf /etc/firewalld/firewalld.conf \ No newline at end of file +cp -a /etc/firewalld/firewalld-server.conf /etc/firewalld/firewalld.conf