Created
May 6, 2013 20:01
-
-
Save erithmetic/5527720 to your computer and use it in GitHub Desktop.
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
[root@00-22-4d-81-93-4d ~]# imgadm list | |
UUID NAME VERSION OS PUBLISHED | |
da144ada-a558-11e2-8762-538b60994628 ubuntu-12.04 2.4.1 linux 2013-04-15T20:18:53Z | |
f669428c-a939-11e2-a485-b790efc0f0c1 base 13.1.0 smartos 2013-04-26T15:16:02Z |
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
[root@00-22-4d-81-93-4d ~]# cat foo.json | |
{"brand":"joyent","alias":"foo","ram":"2048","image_uuid":"da144ada-a558-11e2-8762-538b60994628","nics":[{"nic_tag":"admin","ip":"192.168.1.50","netmask":"255.255.255.0","gateway":"192.168.1.254","primary":1}]} | |
[root@00-22-4d-81-93-4d ~]# vmadmin create -f foo.json | |
-bash: vmadmin: command not found | |
[root@00-22-4d-81-93-4d ~]# vmadm create -f foo.json | |
Invalid value(s) for: image_uuid | |
[root@00-22-4d-81-93-4d ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment