Skip to content

Commit 1f6ca7f

Browse files
authored
Update post-install.sh
1 parent e4d0e5b commit 1f6ca7f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

main/post-install.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ if [[ "-nvidia" == "${NVIDIA_TAG}" ]]; then
1616
systemctl enable ublue-nvctk-cdi.service
1717
fi
1818

19+
mkdir -p /etc/cloud/cloud.cfg.d
20+
tee /etc/cloud/cloud.cfg.d/99_pve.cfg <<'EOF'
21+
# /etc/cloud/cloud.cfg.d/99_pve.cfg
22+
datasource_list: [ NoCloud, ConfigDrive ]
23+
EOF
1924

2025
## ALWAYS: regular post-install
2126
systemctl disable docker.socket
@@ -33,4 +38,4 @@ rm /etc/ssh/sshd_config.d/40-disable-passwords.conf
3338
ln -s ../usr/share/zoneinfo/UTC /etc/localtime
3439

3540
# switch to server profile to allow cockpit by default
36-
cp -a /etc/firewalld/firewalld-server.conf /etc/firewalld/firewalld.conf
41+
cp -a /etc/firewalld/firewalld-server.conf /etc/firewalld/firewalld.conf

0 commit comments

Comments
 (0)