Ubuntu – AutoInstall


Create user-data

  version: 1
    hostname: ubuntu
    password: "encrypted_password"
    realname: SoulEvil
    username: soulevil
    allow-pw: false
    install-server: true
    - <public_key>
  - curtin in-target --target=/target -- apt update
  - curtin in-target --target=/target -- apt upgrade -y
  - curtin in-target --target=/target -- apt -y install git zip unzip curl

Generate seed.iso

cloud-localds ./seed.iso user-data
  • Load Ubuntu image for IDE Primary Master
  • Add IDE Primary Slave and load seed.iso for Virtualbox

The virtual machine will boot and validate the Autoinstallation configuration. Soon a prompt stating:

Continue with autoinstall? (yes|no)

will appear. Type yes and hit enter.

Pages: 1 2

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Up ↑

%d bloggers like this: