Remove deprecated --os-type cli argument

test logs print:

[2023-08-22T10:18:14-04:00] 💿 Install image via installer(ISO) on VM
WARNING  --os-type is deprecated and does nothing. Please stop using it.
This commit is contained in:
Alexander Todorov 2023-08-22 17:24:44 +03:00 committed by Ondřej Budai
parent f0c1fe2d98
commit f2f1c8d0f0
8 changed files with 0 additions and 17 deletions

View file

@ -482,7 +482,6 @@ sudo virt-install --name="${IMAGE_KEY}-simplified_iso_without_fdo"\
--ram "${MEMORY}" \
--vcpus 2 \
--network network=integration,mac=34:49:22:B0:83:30 \
--os-type linux \
--os-variant ${OS_VARIANT} \
--cdrom "/var/lib/libvirt/images/${ISO_FILENAME}" \
--boot "$BOOT_ARGS" \
@ -647,7 +646,6 @@ sudo virt-install --name="${IMAGE_KEY}-http"\
--ram "${MEMORY}" \
--vcpus 2 \
--network network=integration,mac=34:49:22:B0:83:30 \
--os-type linux \
--os-variant "${OS_VARIANT}" \
--pxe \
--boot "$BOOT_ARGS" \
@ -800,7 +798,6 @@ sudo virt-install --name="${IMAGE_KEY}-fdosshkey"\
--ram "${MEMORY}" \
--vcpus 2 \
--network network=integration,mac=34:49:22:B0:83:30 \
--os-type linux \
--os-variant ${OS_VARIANT} \
--cdrom "/var/lib/libvirt/images/${ISO_FILENAME}" \
--boot "$BOOT_ARGS" \
@ -1116,7 +1113,6 @@ sudo virt-install --name="${IMAGE_KEY}-fdorootcert"\
--ram "${MEMORY}" \
--vcpus 2 \
--network network=integration,mac=34:49:22:B0:83:30 \
--os-type linux \
--os-variant ${OS_VARIANT} \
--cdrom "/var/lib/libvirt/images/${ISO_FILENAME}" \
--boot "$BOOT_ARGS" \