1
0
Fork 0

Remove useless scripts

This commit is contained in:
Florian RICHER 2023-09-23 11:00:11 +02:00
parent 23c2f66e4f
commit 57ce1d2b44
2 changed files with 0 additions and 25 deletions

View file

@ -1,21 +0,0 @@
#!/bin/sh
#echo "DOWNLOAD FEDORA IMAGE"
#mkdir -p work
#wget --show-progress -nc -c -O work/image.qcow2 https://download.fedoraproject.org/pub/fedora/linux/releases/38/Server/x86_64/images/Fedora-Server-KVM-38-1.6.x86_64.qcow2
#echo "PREPARE IMG"
#qemu-img resize work/image.qcow2 30G
echo "COPY BASE IMG"
cp work/base.qcow2 work/image.qcow2
# sudo systemctl enable --now libvirtd
# sudo virsh --connect qemu:///session net-start default
virt-install --connect qemu:///session --name FedoraServer \
--memory 8192 --cpu host --vcpus 4 --graphics none \
--os-variant fedora-unknown \
--import \
--disk work/image.qcow2,format=qcow2,bus=virtio \
--network bridge=virbr0,model=virtio

4
run.sh
View file

@ -1,4 +0,0 @@
#!/bin/sh
echo "START VM"
virsh --connect qemu:///session start FedoraServer --console