Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #1559

Merged
merged 20 commits into from
Mar 20, 2024
Prev Previous commit
Next Next commit
testing
  • Loading branch information
Stromweld committed Mar 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 96dad674d99736c6734d1cbf12f3ca3ed93d7b7b
4 changes: 2 additions & 2 deletions amazon_linux_2023_build.sh
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ VBoxManage createvm --name $VM --ostype "Fedora_64" --register
VBoxManage storagectl $VM --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storagectl $VM --name "SATA CDROM" --add sata --controller IntelAHCI
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "$AMZDIR"/amazon2023.vdi
VBoxManage storageattach $VM --storagectl "SATA CDROM" --port 0 --device 0 --type dvddrive --medium "$AMZDIR"/seed.iso
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium "$AMZDIR"/seed.iso
VBoxManage modifyvm $VM --memory 2048
VBoxManage modifyvm $VM --cpus 2
VBoxManage modifyvm $VM --audio-driver none
@@ -52,7 +52,7 @@ echo "Sleeping for 120 seconds to let the system boot and cloud-init to run"
VBoxManage startvm $VM --type headless
sleep 120
VBoxManage controlvm $VM poweroff --type headless
VBoxManage storageattach $VM --storagectl "SATA CDROM" --port 0 --device 0 --type dvddrive --medium none
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium none
sleep 5

echo "Exporting the VM to an OVF file"
4 changes: 2 additions & 2 deletions amazon_linux_2_virtualbox_build.sh
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ echo "Creating the VM"
VBoxManage createvm --name $VM --ostype "RedHat_64" --register
VBoxManage storagectl $VM --name "SATA Controller" --add sata --controller IntelAHCI
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium "$AMZDIR"/amazon2.vdi
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 1 --type dvddrive --medium "$AMZDIR"/seed.iso
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium "$AMZDIR"/seed.iso
VBoxManage modifyvm $VM --memory 2048
VBoxManage modifyvm $VM --cpus 2
VBoxManage modifyvm $VM --audio-driver none
@@ -48,7 +48,7 @@ echo Sleeping for 120 seconds to let the system boot and cloud-init to run
VBoxManage startvm $VM --type headless
sleep 120
VBoxManage controlvm $VM poweroff --type headless
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 1 --type dvddrive --medium none
VBoxManage storageattach $VM --storagectl "SATA Controller" --port 1 --device 0 --type dvddrive --medium none
sleep 5

echo Exporting the VM to an OVF file