From 77862f882245a62efef6095e2739d6edfb91d674 Mon Sep 17 00:00:00 2001 From: zsdc Date: Thu, 6 Jun 2024 14:38:44 +0300 Subject: 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. --- config/cloud.cfg.d/10_vyos.cfg | 1 + config/cloud.cfg.d/20_vyos_install.cfg | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 config/cloud.cfg.d/20_vyos_install.cfg (limited to 'config') 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 -- cgit v1.2.3