OS-6594: zoneadmd forgot to setenv _ZONECFG_device_resources

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-02-15T17:16:34.121Z)

Fix Versions

2018-03-01 Midgar (Release Date: 2018-03-01)

Related Issues

Related Links

Description

When zoneadmd invokes brand scripts it sets a bunch of _ZONECFG_* environment variables so that brand scripts don't have to parse XML. It lists all of the nics in _ZONECFG_net_resources. A similar environment variable, _ZONECFG_device_resources should also be set.

Comments

Comment by Jira Bot
Created at 2018-02-15T16:53:23.506Z
illumos-joyent commit 9b5f494dc07544fd40038466910d2c20c16406ea (branch master, by Mike Gerdts)

OS-6594 zoneadmd forgot to setenv ZONECFGdevice_resources
Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>