Remove VMWare from code base

This commit is contained in:
Greg Hellings
2025-08-21 21:59:53 -05:00
parent 85442c28a7
commit 7739dc4d77
14 changed files with 0 additions and 95 deletions
-3
View File
@@ -129,8 +129,6 @@ chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
# Customize the initramfs
pushd /etc/dracut.conf.d
# Enable VMware PVSCSI support for VMware Fusion guests.
echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf
echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf
# There's no floppy controller, but probing for it generates timeouts
echo 'omit_drivers+=" floppy "' > nofloppy.conf
@@ -138,7 +136,6 @@ popd
# Fix the SELinux context of the new files
restorecon -f - <<EOF
/etc/sudoers.d/vagrant
/etc/dracut.conf.d/vmware-fusion-drivers.conf
/etc/dracut.conf.d/hyperv-drivers.conf
/etc/dracut.conf.d/nofloppy.conf
EOF
-3
View File
@@ -129,8 +129,6 @@ chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
# Customize the initramfs
pushd /etc/dracut.conf.d
# Enable VMware PVSCSI support for VMware Fusion guests.
echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf
echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf
# There's no floppy controller, but probing for it generates timeouts
echo 'omit_drivers+=" floppy "' > nofloppy.conf
@@ -138,7 +136,6 @@ popd
# Fix the SELinux context of the new files
restorecon -f - <<EOF
/etc/sudoers.d/vagrant
/etc/dracut.conf.d/vmware-fusion-drivers.conf
/etc/dracut.conf.d/hyperv-drivers.conf
/etc/dracut.conf.d/nofloppy.conf
EOF
-3
View File
@@ -129,8 +129,6 @@ chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
# Customize the initramfs
pushd /etc/dracut.conf.d
# Enable VMware PVSCSI support for VMware Fusion guests.
echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf
echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf
# There's no floppy controller, but probing for it generates timeouts
echo 'omit_drivers+=" floppy "' > nofloppy.conf
@@ -138,7 +136,6 @@ popd
# Fix the SELinux context of the new files
restorecon -f - <<EOF
/etc/sudoers.d/vagrant
/etc/dracut.conf.d/vmware-fusion-drivers.conf
/etc/dracut.conf.d/hyperv-drivers.conf
/etc/dracut.conf.d/nofloppy.conf
EOF
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
virtualisation.vmware.guest = {
enable = true;
headless = false;
};
}
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
virtualisation.vmware.guest = {
enable = true;
headless = false;
};
}
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
virtualisation.vmware.guest = {
enable = true;
headless = false;
};
}
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
virtualisation.vmware.guest = {
enable = true;
headless = false;
};
}
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
virtualisation.vmware.guest = {
enable = true;
headless = false;
};
}
-3
View File
@@ -123,8 +123,6 @@ chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
# Customize the initramfs
pushd /etc/dracut.conf.d
# Enable VMware PVSCSI support for VMware Fusion guests.
echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf
echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf
# There's no floppy controller, but probing for it generates timeouts
echo 'omit_drivers+=" floppy "' > nofloppy.conf
@@ -132,7 +130,6 @@ popd
# Fix the SELinux context of the new files
restorecon -f - <<EOF
/etc/sudoers.d/vagrant
/etc/dracut.conf.d/vmware-fusion-drivers.conf
/etc/dracut.conf.d/hyperv-drivers.conf
/etc/dracut.conf.d/nofloppy.conf
EOF
-3
View File
@@ -123,8 +123,6 @@ chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
# Customize the initramfs
pushd /etc/dracut.conf.d
# Enable VMware PVSCSI support for VMware Fusion guests.
echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf
echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf
# There's no floppy controller, but probing for it generates timeouts
echo 'omit_drivers+=" floppy "' > nofloppy.conf
@@ -132,7 +130,6 @@ popd
# Fix the SELinux context of the new files
restorecon -f - <<EOF
/etc/sudoers.d/vagrant
/etc/dracut.conf.d/vmware-fusion-drivers.conf
/etc/dracut.conf.d/hyperv-drivers.conf
/etc/dracut.conf.d/nofloppy.conf
EOF
-10
View File
@@ -8,10 +8,6 @@ packer {
source = "github.com/hashicorp/vagrant"
version = "= 1.1.6"
}
vmware = {
source = "github.com/hashicorp/vmware"
version = "= 1.0.11"
}
hyperv = {
version = "= 1.1.4"
source = "github.com/hashicorp/hyperv"
@@ -27,7 +23,6 @@ build {
sources = [
"source.qemu.amd64",
"source.virtualbox-iso.amd64",
"source.vmware-iso.amd64",
"source.hyperv-iso.amd64"
]
@@ -42,11 +37,6 @@ build {
only = ["virtualbox-iso.amd64"]
script = "distros/${var.distro}/${var.version}/virtualbox.sh"
}
provisioner "shell" {
execute_command = "sudo -S sh -c '{{ .Vars }} {{ .Path }}'"
only = ["vmware-iso.amd64"]
script = "distros/${var.distro}/${var.version}/vmware.sh"
}
# Generic wrapping up the provisioner before packaging
provisioner "shell" {
-29
View File
@@ -1,29 +0,0 @@
source "vmware-iso" "amd64" {
iso_url = var.iso.url
iso_target_path = "cache/${basename(var.iso.url)}"
iso_checksum = var.iso.checksum
output_directory = "output/vmware/${local.name}"
boot_command = var.boot_command
shutdown_command = var.shutdown_command
boot_wait = var.boot_wait
ssh_timeout = local.ssh.timeout
ssh_username = local.ssh.username
ssh_password = local.ssh.password
ssh_handshake_attempts = local.ssh.handshake_attempts
ssh_private_key_file = "vagrant/insecure_key"
vm_name = "packer-${local.name}"
disk_size = "${local.disk_size}000"
cpus = local.cpus
memory = local.memory
headless = var.headless
#guest_os_type = "Linux_64"
http_content = var.http_files
http_directory = var.http_directory
cd_content = var.cd_content
cd_files = var.cd_files
cd_label = var.cd_label
}
-3
View File
@@ -14,7 +14,4 @@ Vagrant.configure('2') do |c|
v.gui = false
v.memory = 2048
end
c.vm.provider :vmware_fusion do |v|
v.gui = false
end
end
-3
View File
@@ -9,7 +9,4 @@ Vagrant.configure('2') do |c|
c.vm.provider :virtualbox do |v|
v.gui = false
end
c.vm.provider :vmware_fusion do |v|
v.gui = false
end
end