Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.28 KB

File metadata and controls

32 lines (23 loc) · 1.28 KB

KVM

#!/bin/bash

BASEPATH=$(realpath `dirname $0`)

sudo virt-install \
         -n ubuntu1804 \
         --os-type=Linux \
         --os-variant=ubuntu18.04 \
         --memory=131072 \
         --vcpus=18 \
         --disk path=${BASEPATH}/ubuntu1804.img,size=128  \
         --network network:default \
         --graphics none  \
         --console pty,target_type=serial \
         --extra-args 'console=ttyS0,115200n8 serial' \
         --location 'http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' \