...
You should put there an address where the latest tested stable versions of DilOS are placed:
Code Block | ||
---|---|---|
| ||
deb http://10.20.50.188/dilos dilos2-testing main contrib non-free |
...
Info |
---|
Note :While there is no any new tested stable version, you can use this BE as a base BE. In other words you can skip all steps from the beginning of this instruction to the current point. To do this execute the following command like you did it for dilos_ISO_orig:
When you later will boot from this BE type the following commands:
|
...
Code Block | ||
---|---|---|
| ||
root@dilos:~# useradd -m -d /var/ztest -g staff -s /bin/bash ztest root@dilos:~# passwd ztest Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@dilos:~# echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest |
...
Expand | ||
---|---|---|
| ||
with the DEBUG version install certificates please:
|
...
|
...
|
...
|
...
Expand | ||||
---|---|---|---|---|
| ||||
with the DEBUG version install certificates please:
and reboot to the new BE:
After reboot login again to the root account. |
Check creation of admin
account:
Code Block |
---|
root@dilos:~# ls /export/home
admin og |
and reboot to the new BE:
After reboot login again to the root account. |
3. Configure NAT according the How to configure NET on Virtual Machine for global zone with etherstub instruction until zone creation.
...
Code Block | ||
---|---|---|
| ||
root@dilos:~# cat > dhcp.cmd <<EOT create -b set zonepath=/zones/dhcp set brand=dpkg set autoboot=true set ip-type=exclusive add fs set dir="/export/home/admin" set special="/export/home/admin" set type="lofs" end add fs set dir="/export/builds" set special="/export/builds" set type="lofs" end add net set physical="iz1" set global-nic="vsw0" add property (name=ip,value="192.168.0.1") add property (name=netmask,value="255.255.255.0") add property (name=gateway,value="192.168.0.254") add property (name=primary,value="true") end add attr set name="resolvers" set type="string" set value="8.8.8.8" end verify commit EOT root@dilos:~# zonecfg -z dhcp -f dhcp.cmd root@dilos:~# zonecfg -z dhcp info zonename: dhcp zonepath: /zones/dhcp brand: dpkg autoboot: true bootargs: pool: limitpriv: scheduling-class: ip-type: exclusive hostid: fs-allowed: uuid: 46b79185-7320-4ab6-b700-15058bd49c02 fs: dir: /export/home/admin special: /export/home/admin raw not specified type: lofs options: [] fs: dir: /export/builds special: /export/builds raw not specified type: lofs options: [] net: address not specified allowed-address not specified defrouter not specified global-nic: vsw0 mac-addr not specified physical: iz1 vlan-id not specified property: (name=ip,value="192.168.0.1") property: (name=netmask,value="255.255.255.0") property: (name=gateway,value="192.168.0.254") property: (name=primary,value="true") attr: name: resolvers type: string value: 8.8.8.8 root@dilos:~# zoneadm -z dhcp install 2>&1 | /usr/bin/tee -a /var/tmp/dhcp-bts.log root@dilos:~# zoneadm -z dhcp boot 2>&1 | /usr/bin/tee -a /var/tmp/dhcp-bts.log root@dilos:~# zoneadm list -civ ID NAME STATUS PATH BRAND IP 0 global running / dpkg shared 1 dhcp running /zones/dhcp dpkg excl |
...