You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I update the setup-boot.sh to not delete the kernel, instead i delete the kernel after the docker process installation done using new script i created in clear-kernel.sh.
# The cloud image for qemu has a kernel already. Remove it, since the user# should either install a kernel in the customize script, or let MAAS install# the right kernel when deploying.
apt-get remove --purge -y linux-virtual 'linux-image-*'
apt-get autoremove --purge -yq
apt-get clean -yq
I update theubuntu-cloudimg.pkr.hcl to run above scripts in order.
After checking again several times, it doesn't need legacy iptable and separated install step. I think it only needs kernel during installation. Here is the updated script, hope it helps:
I tried to install
docker-ce
on ubuntu cloud image. I followed steps on readme file provided by ubuntu template and usingubuntu-cloudimg.pkr.hcl
.I found this error:
Here are my system information
After some try and error using solution provided on:
I fixed it with this steps:
custom-script.sh
. It is using separated install steps like on this discussion, and install usingiptables
legacy like on thissetup-boot.sh
to not delete the kernel, instead i delete the kernel after the docker process installation done using new script i created inclear-kernel.sh
.ubuntu-cloudimg.pkr.hcl
to run above scripts in order.I am new on this tools, Packer and MAAS. I just want to know if this is a right step or if have any drawback.
Thanks.
The text was updated successfully, but these errors were encountered: