-
-
Save nshalman/ce9bba59f60f9274e0f2 to your computer and use it in GitHub Desktop.
Testing the lx brand on SmartOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Grab /jperkin/public/lx/lenny.tar.gz from Manta | |
$ echo "10.0.0.0 255.255.255.0" >>/etc/netmasks | |
$ zoneadm -z lenny install -d /path/to/lenny.tar.gz | |
$ zlogin -C lenny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zonecfg -z lenny | |
lenny: No such zone configured | |
Use 'create' to begin configuring a new zone. | |
zonecfg:lenny> create | |
zonecfg:lenny> set brand = lx | |
zonecfg:lenny> set zonepath=/zones/lenny | |
zonecfg:lenny> set autoboot=false | |
zonecfg:lenny> set uuid = 2af64796-1574-4ab1-aff7-21a39e263031 | |
zonecfg:lenny> add attr | |
zonecfg:lenny:attr> set name = kernel-version | |
zonecfg:lenny:attr> set type = string | |
zonecfg:lenny:attr> set value = 2.6 | |
zonecfg:lenny:attr> end | |
zonecfg:lenny> verify | |
zonecfg:lenny> commit | |
zonecfg:lenny> exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zonename: lenny | |
zonepath: /zones/lenny | |
brand: lx | |
autoboot: false | |
bootargs: | |
pool: | |
limitpriv: | |
scheduling-class: | |
ip-type: shared | |
hostid: | |
fs-allowed: | |
uuid: 2af64796-1574-4ab1-aff7-21a39e263031 | |
net: | |
address: 10.88.88.199 | |
allowed-address not specified | |
defrouter not specified | |
global-nic not specified | |
mac-addr not specified | |
physical: external0 | |
vlan-id not specified | |
attr: | |
name: kernel-version | |
type: string | |
value: 2.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment