Commit 8567891f authored by Server Team's avatar Server Team
Browse files

virtinstall first draft

- serial console "everywhere"
- dynamic NAT bridge (needs improvement)
- storage on lvm
parent cbe81a92
#!/bin/bash
SERVER_NAME="dummy"
#VOLUME=$SERVER_NAME
#--network bridge=br0 \
virt-install \
--name debian8 \
--name $SERVER_NAME \
--ram 2048 \
--disk path=./debian8.qcow2,size=8 \
--disk pool=vg1,size=50 \
--vcpus 2 \
--os-type linux \
--os-variant generic \
--network bridge=br0 \
--network network=default \
--graphics none \
--console pty,target_type=serial \
--location 'http://ftp.de.debian.org/debian/dists/jessie/main/installer-amd64/' \
--boot kernel_args='console=ttyS0' \
--extra-args 'console=ttyS0,115200n8 serial'
Supports Markdown
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