File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ function usage_subcommand ()
88
88
printf " ubuntu1604 Ubuntu 16.04 LTS (Xenial Xerus) ubuntu\n"
89
89
printf " ubuntu1804 Ubuntu 18.04 LTS (Bionic Beaver) ubuntu\n"
90
90
printf " ubuntu2004 Ubuntu 20.04 LTS (Focal Fossa) ubuntu\n"
91
- printf " \n"
91
+ printf " rocky8.5 Rocky Linux rocky\n"
92
+ printf " \n"
92
93
printf " EXAMPLES\n"
93
94
printf " $prog create foo\n"
94
95
printf " Create VM with the default parameters: CentOS 8, 1 vCPU, 1GB RAM, 10GB\n"
@@ -446,6 +447,14 @@ function fetch_images ()
446
447
DISK_FORMAT=qcow2
447
448
LOGIN_USER=opensuse
448
449
;;
450
+ rocky85)
451
+ QCOW=Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
452
+ OS_TYPE=" linux"
453
+ OS_VARIANT=" rocky8.5"
454
+ IMAGE_URL=https://dl.rockylinux.org/pub/rocky/8.5/images
455
+ DISK_FORMAT=qcow2
456
+ LOGIN_USER=rocky
457
+ ;;
449
458
* )
450
459
die " ${DISTRO} not a supported OS. Run 'kvm-install-vm create help'."
451
460
;;
@@ -526,7 +535,7 @@ function storpool_exists ()
526
535
function set_sudo_group ()
527
536
{
528
537
case " ${DISTRO} " in
529
- centos? |fedora?? | * -atomic|amazon? |opensuse* )
538
+ centos* |fedora* |rocky * | * -atomic|amazon* |opensuse* )
530
539
SUDOGROUP=" wheel"
531
540
;;
532
541
ubuntu* |debian* )
@@ -544,7 +553,7 @@ function set_cloud_init_remove ()
544
553
centos6 )
545
554
CLOUDINITDISABLE=" chkconfig cloud-init off"
546
555
;;
547
- centos8|centos7|amazon? |fedora?? |ubuntu* |debian* |opensuse* )
556
+ centos8|centos7|amazon* |fedora* |rocky * |ubuntu* |debian* |opensuse* )
548
557
CLOUDINITDISABLE=" systemctl disable cloud-init.service"
549
558
;;
550
559
* -atomic)
You can’t perform that action at this time.
0 commit comments