Created
December 22, 2015 16:48
-
-
Save p7cq/572b6b3108389fa7301a to your computer and use it in GitHub Desktop.
Smart OS - Create a KVM-based VM
This file contains hidden or 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
{ | |
"brand": "kvm", | |
"vcpus": 2, | |
"alias": "s1node1.paulluaq.lan", | |
"hostname": "s1node1.paulluaq.lan", | |
"autoboot": false, | |
"ram": 4096, | |
"resolvers": ["192.168.1.102", "192.168.1.102"], | |
"disks": [ | |
{ | |
"boot": true, | |
"model": "virtio", | |
"size": 15360 | |
} | |
], | |
"nics": [ | |
{ | |
"nic_tag": "admin", | |
"model": "virtio", | |
"ip": "192.168.1.106", | |
"netmask": "255.255.255.0", | |
"gateway": "192.168.1.1", | |
"primary": 1 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create the VM:
# vmadm create < kvm-linux.json