Gareth,
Sorry for the late reply. Your JSON file looks fine to me. Nevertheless please
find below what I am using (successfully).
{
"brand": "kvm",
"vcpus": 1,
"autoboot": false,
„alias": "whs11",
"ram": 4096,
„resolvers": ["172.29.12.7", "8.8.8.8"],
"disks": [
{
"boot": true,
"model": "virtio",
"size": 102400
}
],
"nics": [
{
"nic_tag": "admin",
"model": "virtio",
"ip": "172.29.12.16",
"netmask": "255.255.255.0",
"gateway": "172.29.12.1"
}
]
}
Your vmadm command line looks okay too.
"vmadm boot 093499d8-ab9e-4d8d-aa85-4006c883a193 order=cd,once=d
cdrom=/whs11.iso,ide cdrom=/me-ws2008std-20130417.iso,ide"
Same for the boot log you put on pastebin. It might make sense to test whether
your iso files are okay. Maybe by trying to boot e.g. a (mini) linux
distribution?
Best regards,
Peter
> Am 18.09.2015 um 09:23 schrieb Gareth Howell <[email protected]>:
>
> Peter
> The json file I used to begin with was as follows: (I’ve also tried changing
> the type of nic to e1000 and the disk to die
>
> I‘m running SmartOS Live Image v0.147+ build: 20150903T073920Z
>
> Gareth
>
> {
> "alias": "whs11",
> "hostname": "whs11.agdon.net <http://whs11.agdon.net/>",
> "brand": "kvm",
> "vcpus": 1,
> "autoboot": false,
> "ram": 4096,
> "resolvers": [
> "172.29.12.7",
> "8.8.8.8"
> ],
> "disks": [
> {
> "boot": true,
> "model": "virtio",
> "size": 480960
> }
> ],
> "nics": [
> {
> "nic_tag": "admin",
> "model": "virtio",
> "ip": "172.29.12.16",
> "netmask": "255.255.255.0",
> "gateway": "172.29.12.1",
> "primary": true
> }
> ]
> }
>
>
>
>
>
>> On 17 Sep 2015, at 14:18, Peter Kelm <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Gareth,
>>
>> What does your JSON file look like for this VM?
>> Also, what SmartOS version do you use?
>>
>> Peter
>>
>>> Am 17.09.2015 um 15:06 schrieb Gareth Howell <[email protected]
>>> <mailto:[email protected]>>:
>>>
>>> I've created a simple json file and the zone created OK.
>>> I've copied the install iso and the vm-tools iso into the root of the new
>>> zone (correct ownership)
>>> When I boot the zone using:
>>> vmadm bo ot 093499d8-ab9e-4d8d-aa85-4006c883a193 order=cd,once=d
>>> cdrom=/whs11.iso,ide cdrom=/me-ws2008std-20130417.iso,ide
>>>
>>> Little happens. the VNC console is blank.
>>>
>>> I've dumped the vm.startvm.log at http://pastebin.com/2BgnTNsU
>>> <http://pastebin.com/2BgnTNsU>
>>> Any thoughts and ideas would be welcome.--
>>>
>>> Gareth
>>
>
> smartos-discuss | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/25252853-72390e47> |
> Modify <https://www.listbox.com/member/?&> Your Subscription
> <http://www.listbox.com/>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com