Dateien hochladen nach „.“

This commit is contained in:
stubbfel
2019-07-25 22:12:20 +02:00
parent cee509e609
commit 9a86f54735

17
startClientsVM.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
modprobe kvm kvm-intel kvm-amd
CMD=("qemu-system-x86_64"
"-m" "3024"
"-hda" "nixos.qcow2"
"-cdrom" "nixos-minimal-install.iso"
"-enable-kvm"
"-k" "de"
"-net" "nic"
"-net" "user,hostfwd=tcp::2222-:22,hostfwd=tcp::8081-:8080,hostfwd=tcp::4200-:4200,hostfwd=tcp::5000-:5000,hostfwd=tcp::9000-:9000,hostfwd=tcp::9002-:9002,hostfwd=tcp::5601-:5601,hostfwd=tcp::9200-:9200"
"-daemonize"
)
if ! "${CMD[@]}"; then
echo "${red}fail ${reset}"
exit 1
fi