Last active
February 20, 2021 06:41
-
-
Save rkamradt/a3b2a85c00a37b80975f471c5a608237 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virt-install --name vm1 --ram=8192 --disk size=10 --vcpus 1 --os-type linux --os-variant ubuntu18.04 --graphics none --location 'http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' --extra-args "console=tty0 console=ttyS0,115200n8" | |
# When prompted, use the vm name for the host name, and be sure to add openssh when asked for software to pre-install | |
# otherwise take defaults or most reasonable options. Follow install instructions till reboot, then ^] | |
virsh domifaddr vm1 # get ip address | |
ssh-copy-id rkamradt@192.168.122.95 # use ip address from previous step |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment