-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to automate the installation from ISO? #56
Comments
I am asking myself the exact same question. I did not find a way to automate the template creating with ubuntu using this plugin. |
... and I thought I missed something. Is Is there another way to provide preseed/kickstart/etc. to Linux installer ISOs? |
As far as I understand there was no technical way for packer to access vnc console directly before Cloudstack 4.18. You only had access to the VM console via https (webgui) and not via websocket. You can only send commands via websocket. |
Never mind... I was more thinking of alternative ways (sending boot parameters to the hypervisor, providing userdata via instance metadata (Cloudstack VR), and so on). Similar to the OP with Ubuntu, the Debian installer can install automatically, but that has to be selected at the boot menu and via a kernel command line parameter. Tbh, I consider the boot_command concept quite fragile (typing keys and waiting fixed amounts of time), it just would have been nice for a quick experiment here. A more stable option if regular use is planned could be a PXE boot setup, too. |
I try to perform unattended installations of Ubuntu 20,04.05 using the "ubuntu-20.04.5-live-server-amd64.iso" iso.
Due to the absence of the
boot_command
, there seem to be no way to influence how the installer is started from the iso.Adding
userdata
with "#cloud-config/autoinstall" has no effect on the Subiquityinstaller, if there is no possibility to tell Subiquity that it should be used and where it can be accesses from..Oddly, the
boot_command
is mentioned in the description ofhttp_directory
andhttp_content
, but it doesn't seem it is implemented for the CloudStack provider.What am I missing here? How do we make the CloudStack provider use userdata for Subiquity, preseed.cfg for Debootstrap or kickstart. ks for Kickstart?
The text was updated successfully, but these errors were encountered: