mkdir -p /zones/myzone
Create a zone config file.
create -b
set zonepath=/zones/myzone
set autoboot=true
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 net
set address=10.0.2.17/24
set physical=hme0
end
zonecfg -z myzone -f sparsezone.cfg
zoneadm -z myzone install
zoneadm list -v
zlogin -C myzone
zlogin myzone shutdown -y -i0 -g0
No comments:
Post a Comment