Skip to content

Commit

Permalink
Update post-install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
b- authored Dec 17, 2023
1 parent e4d0e5b commit 1f6ca7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
cp -a /etc/firewalld/firewalld-server.conf /etc/firewalld/firewalld.conf

0 comments on commit 1f6ca7f

Please sign in to comment.