Create an ISO to use as a cloud-init data source
Create a target disk
Run the install!
This will boot and run the install. Unless you interrupt boot to add ‘autoinstall’ to the kernel command
line, the installer will prompt for confirmation before touching the disk.
The installer reboots at the end but the -no-reboot flag to kvm means that kvm will exit when this happens.
The whole process should take about 5 minutes.
Boot the installed system
This will boot into the freshly installed system and you should be able to log in as ubuntu/ubuntu.
JSON Schema for autoinstall config
Introduction
The server installer validates the provided autoinstall config against a JSON Schema.
How the config is validated
Although the schema is presented below as a single document, and if you want to pre-validate your config
you should validate it against this document, the config is not actually validated against this document at
run time. What happens instead is that some sections are loaded, validated and applied first, before all
other sections are validated. In detail:
1. The reporting section is loaded, validated and applied.
2. The error commands are loaded and validated.
3. The early commands are loaded and validated.
4. The early commands, if any, are run.
5. The config is reloaded, and now all sections are loaded and validated.
This is so that validation errors in most sections can be reported via the reporting and error-commands
configuration, as all other errors are.
Do'stlaringiz bilan baham: