From 0a5b621ee324e2470dd16525701611a35137d216 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/opensuse-leap-15.5-virtualbox/molecule.yml | 2 ++ molecule/opensuse-leap-15.6-virtualbox/molecule.yml | 2 ++ molecule/opensuse-tumbleweed-virtualbox/molecule.yml | 2 ++ packer/opensuse-leap-15.5-virtualbox/packer.json | 2 ++ packer/opensuse-leap-15.6-virtualbox/packer.json | 2 ++ packer/opensuse-tumbleweed-virtualbox/packer.json | 2 ++ 7 files changed, 14 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 8130228..3498b23 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/opensuse-leap-15.5-virtualbox/molecule.yml b/molecule/opensuse-leap-15.5-virtualbox/molecule.yml index 59cc2b9..819178e 100644 --- a/molecule/opensuse-leap-15.5-virtualbox/molecule.yml +++ b/molecule/opensuse-leap-15.5-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/opensuse-leap-15.6-virtualbox/molecule.yml b/molecule/opensuse-leap-15.6-virtualbox/molecule.yml index 0568489..c14ec28 100644 --- a/molecule/opensuse-leap-15.6-virtualbox/molecule.yml +++ b/molecule/opensuse-leap-15.6-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/opensuse-tumbleweed-virtualbox/molecule.yml b/molecule/opensuse-tumbleweed-virtualbox/molecule.yml index 04d84b2..578a904 100644 --- a/molecule/opensuse-tumbleweed-virtualbox/molecule.yml +++ b/molecule/opensuse-tumbleweed-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/opensuse-leap-15.5-virtualbox/packer.json b/packer/opensuse-leap-15.5-virtualbox/packer.json index 016edce..c369562 100644 --- a/packer/opensuse-leap-15.5-virtualbox/packer.json +++ b/packer/opensuse-leap-15.5-virtualbox/packer.json @@ -20,6 +20,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "OpenSUSE_64", "headless": true, diff --git a/packer/opensuse-leap-15.6-virtualbox/packer.json b/packer/opensuse-leap-15.6-virtualbox/packer.json index 1f9fbc8..b98f3f7 100644 --- a/packer/opensuse-leap-15.6-virtualbox/packer.json +++ b/packer/opensuse-leap-15.6-virtualbox/packer.json @@ -20,6 +20,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "OpenSUSE_64", "headless": true, diff --git a/packer/opensuse-tumbleweed-virtualbox/packer.json b/packer/opensuse-tumbleweed-virtualbox/packer.json index 94311e7..2726b84 100644 --- a/packer/opensuse-tumbleweed-virtualbox/packer.json +++ b/packer/opensuse-tumbleweed-virtualbox/packer.json @@ -20,6 +20,8 @@ "boot_wait": "1s", "cpus": 2, "disk_size": 131072, + "gfx_accelerate_3d": false, + "gfx_controller": "vboxsvga", "guest_additions_mode": "upload", "guest_os_type": "OpenSUSE_64", "headless": true,