From 29fc086b163ac587547730caca4730c0beb930dd Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Wed, 18 Sep 2024 16:47:20 +0800 Subject: [PATCH] https://github.com/kubernetes/minikube/issues/19639#issuecomment-2351430752 --- Vagrantfile | 2 ++ molecule/kubernetes-1.28-virtualbox/molecule.yml | 2 ++ molecule/kubernetes-1.29-virtualbox/molecule.yml | 2 ++ molecule/kubernetes-1.30-virtualbox/molecule.yml | 2 ++ molecule/kubernetes-1.31-virtualbox/molecule.yml | 2 ++ packer/kubernetes-1.28-virtualbox/packer.json | 2 ++ packer/kubernetes-1.29-virtualbox/packer.json | 2 ++ packer/kubernetes-1.30-virtualbox/packer.json | 2 ++ packer/kubernetes-1.31-virtualbox/packer.json | 2 ++ 9 files changed, 18 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index ce65905..8f22757 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -9,6 +9,8 @@ Vagrant.configure("2") do |config| virtualbox.customize ["modifyvm", :id, "--cpu-profile", "host"] virtualbox.customize ["modifyvm", :id, "--nested-hw-virt", "on"] virtualbox.customize ["modifyvm", :id, "--nat-localhostreachable1", "on"] + virtualbox.customize ["modifyvm", :id, "--graphicscontroller", "vboxsvga"] + virtualbox.customize ["modifyvm", :id, "--accelerate3d", "off"] override.vm.disk :disk, name: "sdb", size: "10GB" override.vm.synced_folder "./", "/vagrant" diff --git a/molecule/kubernetes-1.28-virtualbox/molecule.yml b/molecule/kubernetes-1.28-virtualbox/molecule.yml index 80f103e..c62d02c 100644 --- a/molecule/kubernetes-1.28-virtualbox/molecule.yml +++ b/molecule/kubernetes-1.28-virtualbox/molecule.yml @@ -28,6 +28,8 @@ platforms: - customize ['modifyvm', :id, '--cpu-profile', 'host'] - customize ['modifyvm', :id, '--nested-hw-virt', 'on'] - customize ['modifyvm', :id, '--nat-localhostreachable1', 'on'] + - customize ['modifyvm', :id, '--graphicscontroller', 'vboxsvga'] + - customize ['modifyvm', :id, '--accelerate3d', 'off'] instance_raw_config_args: - vm.box_check_update = false - "vm.disk :disk, name: 'sdb', size: '10GB'" diff --git a/molecule/kubernetes-1.29-virtualbox/molecule.yml b/molecule/kubernetes-1.29-virtualbox/molecule.yml index ce5aaac..842e773 100644 --- a/molecule/kubernetes-1.29-virtualbox/molecule.yml +++ b/molecule/kubernetes-1.29-virtualbox/molecule.yml @@ -28,6 +28,8 @@ platforms: - customize ['modifyvm', :id, '--cpu-profile', 'host'] - customize ['modifyvm', :id, '--nested-hw-virt', 'on'] - customize ['modifyvm', :id, '--nat-localhostreachable1', 'on'] + - customize ['modifyvm', :id, '--graphicscontroller', 'vboxsvga'] + - customize ['modifyvm', :id, '--accelerate3d', 'off'] instance_raw_config_args: - vm.box_check_update = false - "vm.disk :disk, name: 'sdb', size: '10GB'" diff --git a/molecule/kubernetes-1.30-virtualbox/molecule.yml b/molecule/kubernetes-1.30-virtualbox/molecule.yml index e94b098..41ede69 100644 --- a/molecule/kubernetes-1.30-virtualbox/molecule.yml +++ b/molecule/kubernetes-1.30-virtualbox/molecule.yml @@ -28,6 +28,8 @@ platforms: - customize ['modifyvm', :id, '--cpu-profile', 'host'] - customize ['modifyvm', :id, '--nested-hw-virt', 'on'] - customize ['modifyvm', :id, '--nat-localhostreachable1', 'on'] + - customize ['modifyvm', :id, '--graphicscontroller', 'vboxsvga'] + - customize ['modifyvm', :id, '--accelerate3d', 'off'] instance_raw_config_args: - vm.box_check_update = false - "vm.disk :disk, name: 'sdb', size: '10GB'" diff --git a/molecule/kubernetes-1.31-virtualbox/molecule.yml b/molecule/kubernetes-1.31-virtualbox/molecule.yml index cd83bdb..89348eb 100644 --- a/molecule/kubernetes-1.31-virtualbox/molecule.yml +++ b/molecule/kubernetes-1.31-virtualbox/molecule.yml @@ -28,6 +28,8 @@ platforms: - customize ['modifyvm', :id, '--cpu-profile', 'host'] - customize ['modifyvm', :id, '--nested-hw-virt', 'on'] - customize ['modifyvm', :id, '--nat-localhostreachable1', 'on'] + - customize ['modifyvm', :id, '--graphicscontroller', 'vboxsvga'] + - customize ['modifyvm', :id, '--accelerate3d', 'off'] instance_raw_config_args: - vm.box_check_update = false - "vm.disk :disk, name: 'sdb', size: '10GB'" diff --git a/packer/kubernetes-1.28-virtualbox/packer.json b/packer/kubernetes-1.28-virtualbox/packer.json index b4bd8c6..da2236d 100644 --- a/packer/kubernetes-1.28-virtualbox/packer.json +++ b/packer/kubernetes-1.28-virtualbox/packer.json @@ -25,6 +25,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "Ubuntu_64", "headless": true, diff --git a/packer/kubernetes-1.29-virtualbox/packer.json b/packer/kubernetes-1.29-virtualbox/packer.json index b4bd8c6..da2236d 100644 --- a/packer/kubernetes-1.29-virtualbox/packer.json +++ b/packer/kubernetes-1.29-virtualbox/packer.json @@ -25,6 +25,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "Ubuntu_64", "headless": true, diff --git a/packer/kubernetes-1.30-virtualbox/packer.json b/packer/kubernetes-1.30-virtualbox/packer.json index b4bd8c6..da2236d 100644 --- a/packer/kubernetes-1.30-virtualbox/packer.json +++ b/packer/kubernetes-1.30-virtualbox/packer.json @@ -25,6 +25,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "Ubuntu_64", "headless": true, diff --git a/packer/kubernetes-1.31-virtualbox/packer.json b/packer/kubernetes-1.31-virtualbox/packer.json index b4bd8c6..da2236d 100644 --- a/packer/kubernetes-1.31-virtualbox/packer.json +++ b/packer/kubernetes-1.31-virtualbox/packer.json @@ -25,6 +25,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "Ubuntu_64", "headless": true,