[indiana-discuss] upgrading zone and /dev -> /release part 2
Kais Belgaied
Kais.Belgaied at sun.com
Thu May 28 23:04:26 PDT 2009
did that work?
I'm doing a basic zone creation with 2009.06, without success so far (details below)
The exact sequence has been working without any trouble for all builds of Nevada (up to snv_114)
root at crossbow:/var/tmp# zonecfg -z templatezone -f /var/tmp/templatezone.cfg
root at crossbow:/var/tmp# zonecfg -z templatezone.cfg verify
templatezone.cfg: No such zone configured
root at crossbow:/var/tmp# zonecfg -z templatezone verify
root at crossbow:/var/tmp#
root at crossbow:/var/tmp#
root at crossbow:/var/tmp# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- templatezone configured /rpool/Zones/templatezone ipkg excl
root at crossbow:/var/tmp# zoneadm -z templatezone install
A ZFS file system has been created for this zone.
Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/).
Image: Preparing at /rpool/Zones/templatezone/root.
Sanity Check: Looking for 'entire' incorporation.
ERROR: Unable to locate the incorporation 'entire at 0.5.11,5.11-0.111:20090514T145840Z' in the preferred publisher 'opensolaris.org'.
Use -P to supply a publisher which contains this package.
the content of the templatezone.cfg is
create
set zonepath=/rpool/Zones/templatezone
set autoboot=false
set ip-type=exclusive
add inherit-pkg-dir
set dir=/lib
end
add inherit-pkg-dir
set dir=/platform
end
add inherit-pkg-dir
set dir=/sbin
end
add inherit-pkg-dir
set dir=/usr
end
add inherit-pkg-dir
set dir=/usr/lib
end
add inherit-pkg-dir
set dir=/opt
end
add fs
set dir=/usr/local/bin
set special=/usr/local/bin
set type=lofs
end
add fs
set dir=/etc/crypto
set special=/etc/crypto
set type=lofs
end
add net
set physical=vnic1
end
--
This message posted from opensolaris.org
More information about the indiana-discuss
mailing list