Fix postinstall script
This commit is contained in:
parent
c68e399eac
commit
16fa9ed24f
2 changed files with 3 additions and 4 deletions
|
@ -114,6 +114,6 @@ d-i preseed/late_command string in-target /bin/sh -c " \
|
|||
docker-ce docker-ce-cli containerd.io \
|
||||
kubelet kubeadm kubectl ; \
|
||||
apt-get clean ; \
|
||||
systemctl enable serial-getty@ttyS0.service; \
|
||||
systemctl enable docker.service ; \
|
||||
systemctl enable serial-getty@ttyS0.service ; \
|
||||
systemctl enable docker.service \
|
||||
|| true"
|
||||
|
|
3
runme.sh
3
runme.sh
|
@ -21,8 +21,7 @@ runvm() {
|
|||
}
|
||||
###
|
||||
if [ ! -f "${k8sdsk}" ]; then
|
||||
installvm;
|
||||
runvm;
|
||||
installvm && runvm;
|
||||
else
|
||||
runvm;
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue