Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

To bootstrap a DU4 non-global zone you need to edit /etc/apt/sourses.list and copy sources below (do not forget to make the backup of original sourses.list of global zone: sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig):

deb http://10.20.60.188/dilos4 du4-unstable main contrib non-free
deb https://apt2.dilos.org/dilos dg2-unstable main contrib non-free

Install a zone using regular commands (zonecfg, zoneadm):

prompt:~$ sudo zonecfg -z test-zone export
[sudo] password for user:
create -b
set zonepath=/zones/test-zone
set brand=dpkg
set autoboot=false
set ip-type=exclusive
add fs
set dir="/export/home"
set special="/export/home"
set type="lofs"
end
add net
set physical="iz0"
set global-nic="vsw0"
add property (name=netmask,value="255.255.255.0")
add property (name=gateway,value="192.168.0.1")
add property (name=ip,value="192.168.0.2")
add property (name=primary,value="true")
end
add attr
set name="resolvers"
set type="string"
set value="8.8.8.8"
end

Bold part is share region between zones.

IP value shall be unique for each zone.

Do not forget to revert the changes in the sources.list file when a non-global zone has been installed (sudo cp /etc/apt/sourses.list.orig /etc/apt/sourses.list).

  • No labels