Commit 9d488b0f authored by Steffen Gebert's avatar Steffen Gebert
Browse files

Use hetzner mirror, remove commented out line

parent eac2ad57
......@@ -64,6 +64,7 @@ $SCRIPT_PATH/gatherkeys.sh > $SCRIPT_PATH/authorized_keys
#VOLUME=$SERVER_NAME
#--network bridge=br0 \
#--network bridge=br-ext,mac=$NET_IPV4_MAC,model=virtio \
virt-install \
--connect qemu:///system \
......@@ -73,10 +74,9 @@ virt-install \
--vcpus 2 \
--os-type linux \
--os-variant generic \
#--network bridge=br-int,mac=$NET_IPV4_MAC,model=virtio \
--network network=default,model=virtio \
--network network=br-int,model=virtio \
--graphics none \
--console pty,target_type=serial \
--location 'http://ftp.de.debian.org/debian/dists/jessie/main/installer-amd64/' \
--location 'http://mirror.hetzner.de/debian/packages/dists/jessie/main/installer-amd64/' \
--initrd-inject '/usr/local/virtinstaller/preseed.cfg' \
--extra-args "auto=true netcfg/get_hostname=$HOST_NAME netcfg/hostname=$HOST_NAME passwd/root-password=$PASSWORD passwd/root-password-again=$PASSWORD netcfg/get_ipaddress=$NET_IPV4_ADDRESS netcfg/get_netmask=$NET_IPV4_NETMASK netcfg/get_gateway=$NET_IPV4_GATEWAY console=ttyS0,115200n8 serial"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment