From 3fef66091b38e97379255a659f53202d9c434589 Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Tue, 12 Dec 2023 17:43:35 +0300 Subject: [PATCH 1/2] Various improvements for Vagrant images - Disabled installation media check. - Switched anaconda language to English to avoid font issues. - Switched to use a public MSVSphere mirror. - Updated kickstart file to use "os" instead of "kickstart" repos in order to install all present updates. --- http/msvsphere-9-vagrant.x86_64.ks | 7 +++---- variables.pkr.hcl | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/http/msvsphere-9-vagrant.x86_64.ks b/http/msvsphere-9-vagrant.x86_64.ks index 33112b8..f86b641 100644 --- a/http/msvsphere-9-vagrant.x86_64.ks +++ b/http/msvsphere-9-vagrant.x86_64.ks @@ -1,9 +1,8 @@ # MSVSphere 9 Vagrant boxes kickstart file -# TODO: change url to the kickstart one when we have it -url --url https://rsync.inferitos.ru/msvsphere/9.3/BaseOS/x86_64/kickstart/ -repo --name=BaseOS --baseurl=https://rsync.inferitos.ru/msvsphere/9.3/BaseOS/x86_64/kickstart/ -repo --name=AppStream --baseurl=https://rsync.inferitos.ru/msvsphere/9.3/AppStream/x86_64/kickstart/ +url --url https://repo1.msvsphere-os.ru/msvsphere/9.3/BaseOS/x86_64/kickstart/ +repo --name=BaseOS --baseurl=https://repo1.msvsphere-os.ru/msvsphere/9.3/BaseOS/x86_64/os/ +repo --name=AppStream --baseurl=https://repo1.msvsphere-os.ru/msvsphere/9.3/AppStream/x86_64/os/ text skipx diff --git a/variables.pkr.hcl b/variables.pkr.hcl index 9f9f435..7e045c7 100644 --- a/variables.pkr.hcl +++ b/variables.pkr.hcl @@ -109,7 +109,7 @@ variable "vagrant_boot_cmd_9_x86_64_bios" { description = "The boot command for x86_64 VMs in a BIOS mode" type = list(string) default = [ - " inst.text inst.gpt ", + " inst.text inst.gpt inst.lang=en_US ", "inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/msvsphere-9-vagrant.x86_64.ks", "" ] From 1dc1b102d1f73b29aa5101531ed10d67af983b9e Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Tue, 12 Dec 2023 17:56:20 +0300 Subject: [PATCH 2/2] Sets anaconda language to en_US.UTF-8 in Vagrant boot command --- variables.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.pkr.hcl b/variables.pkr.hcl index 7e045c7..248d9cf 100644 --- a/variables.pkr.hcl +++ b/variables.pkr.hcl @@ -109,7 +109,7 @@ variable "vagrant_boot_cmd_9_x86_64_bios" { description = "The boot command for x86_64 VMs in a BIOS mode" type = list(string) default = [ - " inst.text inst.gpt inst.lang=en_US ", + " inst.text inst.gpt inst.lang=en_US.UTF-8 ", "inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/msvsphere-9-vagrant.x86_64.ks", "" ]