diff options
author | zsdc <taras@vyos.io> | 2024-06-06 14:38:44 +0300 |
---|---|---|
committer | zdc <zdc@users.noreply.github.com> | 2024-06-07 13:27:59 +0300 |
commit | 77862f882245a62efef6095e2739d6edfb91d674 (patch) | |
tree | 219b70535c402eef69c5331d6eff235d21065958 /config | |
parent | 70304ff90d931265cb736ace692967242c9b9729 (diff) | |
download | vyos-cloud-init-77862f882245a62efef6095e2739d6edfb91d674.tar.gz vyos-cloud-init-77862f882245a62efef6095e2739d6edfb91d674.zip |
vyos_install: T5220: Added unattended installer
Added an unattended installer, compatible with similar from VyOS 1.3.
Check the `config/cloud.cfg.d/20_vyos_install.cfg` for configuration details.
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.d/10_vyos.cfg | 1 | ||||
-rw-r--r-- | config/cloud.cfg.d/20_vyos_install.cfg | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/cloud.cfg.d/10_vyos.cfg b/config/cloud.cfg.d/10_vyos.cfg index f34e262a..a0cb98f1 100644 --- a/config/cloud.cfg.d/10_vyos.cfg +++ b/config/cloud.cfg.d/10_vyos.cfg @@ -23,6 +23,7 @@ cloud_config_modules: - vyos - write_files - vyos_userdata + - vyos_install # The modules that run in the 'final' stage cloud_final_modules: [] diff --git a/config/cloud.cfg.d/20_vyos_install.cfg b/config/cloud.cfg.d/20_vyos_install.cfg new file mode 100644 index 00000000..da9eda07 --- /dev/null +++ b/config/cloud.cfg.d/20_vyos_install.cfg @@ -0,0 +1,11 @@ +# Unattended installation + +# vyos_install: +# activated: true # true - enable installer, false - disable. Default: false +# post_reboot: true # true - reboot after installation, false - do not reboot. Default: false +# ci_disable: true # true - disable cloud-init after installation, false - do not disable. Default: false +# boot_params: +# console_type: serial # type of console: kvm, serial. Default: kvm +# serial_console_num: 1 # serial console number. Default: 0 +# serial_console_speed: 115200 # serial console speed. Default: 9600 +# cmdline_extra: nosmt mitigations=off # add extra parameters for kernel cmdline |