From cdfd73bc8014c2b33186358db09a6cb8164e31b8 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sat, 10 Aug 2024 19:18:00 -0400 Subject: Make package manager aware of new local repos --- vms/virtinstall.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'vms') diff --git a/vms/virtinstall.sh b/vms/virtinstall.sh index 7ee13ae..0724dfa 100755 --- a/vms/virtinstall.sh +++ b/vms/virtinstall.sh @@ -2,18 +2,17 @@ # plug in your variables and run file to create vm via commandline # got tired of looking up man-pages everytime -name=rhel9m1 +name=rhel9m2 ram=2048 vcpu=2 -path=/var/lib/libvirt/images/rhel9m1.qcow2 +path=/var/lib/libvirt/images/rhel9m2.qcow2 size=20 os_variant=rhel9.4 -path_iso=/home/$USER/Downloads/iso/rhel-9.4-x86_64-boot.iso +path_iso=/home/$USER/Downloads/iso/rhel-9.4-x86_64-dvd.iso # you can add the following optional arguments # --graphics none # kickstart files and such via the --extra-args argument virt-install --name $name --ram $ram --vcpus $vcpu \ --disk path=$path,size=$size --os-variant $os_variant \ - --network bridge=virbr0,model=virtio \ - --console pty,target_type=serial --location $path_iso + --location $path_iso -- cgit v1.2.3