hashicorp / hashicorp/packer-plugin-cloudstack

How to automate the installation from ISO?

Open
#56 6 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
5
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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 of `http_directory` and `http_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?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the CloudStack provider's handling of http_directory, http_content, userdata, and the missing boot_command entry point. Compare the requested Subiquity, Debootstrap/preseed, and Kickstart flows, then define the provider behavior needed for each unattended installation path before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cloud, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.