Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx> --- virt-install-sev.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 virt-install-sev.sh diff --git a/virt-install-sev.sh b/virt-install-sev.sh new file mode 100644 index 00000000..2ffcdfb1 --- /dev/null +++ b/virt-install-sev.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +./virt-install \ + --connect qemu+ssh://sev-box/system + --disk path=/var/lib/libvirt/images/test.qcow2,target.bus=scsi,size=15 \ + --name test \ + --boot uefi \ + --machine q35 \ + --memory 4096 \ + --cdrom /var/lib/libvirt/images/f-server-30.iso \ + --memtune hard_limit=5242880 \ + --controller type=scsi,model=virtio-scsi,driver.iommu=on \ + --controller type=virtio-serial,driver.iommu=on \ + --network network=default,model=virtio,driver.iommu=on \ + --memballoon driver.iommu=on \ + --rng backend=/dev/urandom,driver.iommu=on \ + --launch-security sev \ + --os-variant fedora30 \ + --noautoconsole -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list