mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-11-17 00:29:41 +01:00
Update setup.sh
This commit is contained in:
parent
2279b9bb88
commit
cb5f0999c3
1 changed files with 11 additions and 2 deletions
13
setup.sh
13
setup.sh
|
@ -4,8 +4,17 @@ sudo apt-get install qemu-system qemu-utils python3 python3-pip -y # for Ubuntu
|
|||
|
||||
qemu-img create -f qcow2 macOS.qcow2 64G
|
||||
|
||||
./fetch-macOS-v2.py
|
||||
python fetch-macOS.py
|
||||
|
||||
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
|
||||
if [ -e BaseSystem.dmg ]
|
||||
then
|
||||
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
|
||||
else
|
||||
if [ -e RecoveryImage.dmg ]
|
||||
then
|
||||
qemu-img convert RecoveryImage.dmg -O raw BaseSystem.img
|
||||
else
|
||||
echo "macOS installer not found"
|
||||
fi
|
||||
|
||||
sudo ./basic.sh
|
||||
|
|
Loading…
Reference in a new issue