Sunday, April 26, 2009

Minimal OpenSolaris network install script

While preparing new version of zfsinstall, I've written sample version for minimal OpenSolaris installation over network. This script also includes disk partitioning. If complete installation is needed just replace pkg list with:

entire
SUNWcsd
SUNWcs

Try it if you've problems with graphics on old laptops and you can't run GUI installer.
You can find osinstaller script in MilaX mercurial repository on OpenSolaris.org.

5 comments:

what said...

Great work! It installs in under 15 minutes.

What is the root password?

alhazred said...

Root pass is default: opensolaris

Miroslav Osladil said...

Thank you. It works perfectly.

Traceback: Czech OpenSolaris User Group http://www.opensolaris.cz/blog/mira/minimalni-instalace

Unknown said...

I found an issue when using a NIC that has a 0 in the drivername, such as e1000g0. On line 209, the line reads:

IFACE=$(dladm show-link|sed -n '2p'|awk '{print $1}'|sed 's/0//')


this will return e100g0, when I think e1000g is the desired return. That said, I changed the line to read:


IFACE=$(dladm show-link|sed -n '2p'|awk '{print $1}'|sed 's/0$//')


Which should strip out the trailing 0.

alhazred said...

Thanks!

How to determine PXE mac address when booting illumos via PXELinux/iPXE

In illumos, if you need to determine the interface which was used for booting via PXE then it's possible to use "boot-mac" pro...