Skip to content

Commit

Permalink
feat: add upload script
Browse files Browse the repository at this point in the history
Adds upload script to list of options for moving ISOs to content library or datastore.

Signed-off-by: Jared Burns <[email protected]>
  • Loading branch information
burnsjared0415 authored and tenthirtyam committed Sep 17, 2024
1 parent 2467d6b commit 973b68d
Show file tree
Hide file tree
Showing 17 changed files with 433 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vm_guest_os_type = "other5xLinux64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/almalinux"
iso_datastore_path = "iso/linux/almalinux-os"
iso_content_library_item = "AlmaLinux-9.4-x86_64-dvd"
iso_file = "AlmaLinux-9.4-x86_64-dvd.iso"

2 changes: 1 addition & 1 deletion builds/linux/fedora/40/linux-fedora.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ vm_guest_os_cloudinit = true
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/fedora"
iso_datastore_path = "iso/linux/fedora-server"
iso_content_library_item = "Fedora-Server-dvd-x86_64-40-1.14"
iso_file = "Fedora-Server-dvd-x86_64-40-1.14.iso"
2 changes: 1 addition & 1 deletion builds/linux/oracle/9/linux-oracle.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vm_guest_os_type = "other5xLinux64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/oracle"
iso_datastore_path = "iso/linux/oracle-linux"
iso_content_library_item = "OracleLinux-R9-U4-x86_64-dvd"
iso_file = "OracleLinux-R9-U4-x86_64-dvd.iso"

2 changes: 1 addition & 1 deletion builds/linux/photon/4/linux-photon.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "vmwarePhoton64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/photon"
iso_datastore_path = "iso/linux/vmware-photon-os"
iso_content_library_item = "photon-4.0-c001795b8"
iso_file = "photon-4.0-c001795b8.iso"
2 changes: 1 addition & 1 deletion builds/linux/photon/5/linux-photon.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "vmwarePhoton64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/photon"
iso_datastore_path = "iso/linux/vmware-photon-os"
iso_content_library_item = "photon-5.0-dde71ec57.x86_64"
iso_file = "photon-5.0-dde71ec57.x86_64.iso"
2 changes: 1 addition & 1 deletion builds/linux/rhel/8/linux-rhel.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "rhel8_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/rhel"
iso_datastore_path = "iso/linux/red-hat-enterprise-linux"
iso_content_library_item = "rhel-8.9-x86_64-dvd"
iso_file = "rhel-8.9-x86_64-dvd.iso"
2 changes: 1 addition & 1 deletion builds/linux/rhel/9/linux-rhel.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "rhel9_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/rhel"
iso_datastore_path = "iso/linux/red-hat-enterprise-linux"
iso_content_library_item = "rhel-9.4-x86_64-dvd"
iso_file = "rhel-9.4-x86_64-dvd.iso"
2 changes: 1 addition & 1 deletion builds/linux/rocky/9/linux-rocky.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "other5xLinux64Guest"
vm_firmware = "efi"

// Removable Media Settings
iso_datastore_path = "iso/linux/rocky"
iso_datastore_path = "iso/linux/rocky-linux"
iso_content_library_item = "Rocky-9.4-x86_64-dvd"
iso_file = "Rocky-9.4-x86_64-dvd.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "ubuntu64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/ubuntu"
iso_datastore_path = "iso/linux/ubuntu-server"
iso_content_library_item = "ubuntu-20.04.6-live-server-amd64"
iso_file = "ubuntu-20.04.6-live-server-amd64.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "ubuntu64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/ubuntu"
iso_datastore_path = "iso/linux/ubuntu-server"
iso_content_library_item = "ubuntu-22.04.4-live-server-amd64"
iso_file = "ubuntu-22.04.4-live-server-amd64.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "ubuntu64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/linux/ubuntu"
iso_datastore_path = "iso/linux/ubuntu-server"
iso_content_library_item = "ubuntu-24.04-live-server-amd64"
iso_file = "ubuntu-24.04-live-server-amd64.iso"
2 changes: 1 addition & 1 deletion builds/windows/desktop/10/windows.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "windows9_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/windows/desktop"
iso_datastore_path = "iso/windows/windows-desktop"
iso_content_library_item = "19045.2006.220908-0225.22h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us"
iso_file = "19045.2006.220908-0225.22h2_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso"
2 changes: 1 addition & 1 deletion builds/windows/desktop/11/windows.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "windows9_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/windows/desktop"
iso_datastore_path = "iso/windows/windows-desktop"
iso_content_library_item = "22631.2428.231001-0608.23H2_NI_RELEASE_SVC_REFRESH_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us"
iso_file = "22631.2428.231001-0608.23H2_NI_RELEASE_SVC_REFRESH_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "windows2019srv_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/windows/server"
iso_datastore_path = "iso/windows/windows-server"
iso_content_library_item = "17763.3650.221105-1748.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us"
iso_file = "17763.3650.221105-1748.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ vm_guest_os_type = "windows2019srvNext_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/windows/server"
iso_datastore_path = "iso/windows/windows-server"
iso_content_library_item = "SERVER_EVAL_x64FRE_en-us"
iso_file = "SERVER_EVAL_x64FRE_en-us.iso"
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ vm_guest_os_type = "windows2019srvNext_64Guest"
vm_firmware = "efi-secure"

// Removable Media Settings
iso_datastore_path = "iso/windows/server"
iso_datastore_path = "iso/windows/windows-server"
iso_content_library_item = "26100.1.240331-1435.ge_release_SERVER_EVAL_x64FRE_en-us"
iso_file = "26100.1.240331-1435.ge_release_SERVER_EVAL_x64FRE_en-us.iso"
Loading

0 comments on commit 973b68d

Please sign in to comment.