joyent/smartos-live — Issue #49: 'boot' parameter is not handled correctly
Author: Tenzer
Created: 2012-01-24 15:22:55+00:00
State: open

I have created a VM where I specified `"boot": "order=nc"` during creation. This is however not honored when the VM is started. It uses the default `cd` order.

Also `vmadm` doesn't seem to be able to read the `boot` attribute:

[root@00-25-90-21-aa-c8 ~]# echo 'info attr name=boot' | zonecfg -z 362ff340-6abc-4f86-a01a-7403bed08ad7 -f -
On line 1:
attr:
name: boot
type: string
value: order=nc
[root@00-25-90-21-aa-c8 ~]# vmadm get 362ff340-6abc-4f86-a01a-7403bed08ad7 | json -i boot
undefined
[root@00-25-90-21-aa-c8 ~]# echo '{"boot":"order=nc"}' | vmadm update 362ff340-6abc-4f86-a01a-7403bed08ad7
Command failed: On line 1 of /tmp/zonecfg.10533.tmp:
An attr resource with the name 'boot' already exists.

Is this something you already have fixed, or should I try to debug and fix it? :)