Skip to content

Instantly share code, notes, and snippets.

@BigAl
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigAl/9b627ffd3c21b8fbf05b to your computer and use it in GitHub Desktop.
Save BigAl/9b627ffd3c21b8fbf05b to your computer and use it in GitHub Desktop.
Setup Solaris 11.2beta pkg repo
svccfg -s application/pkg/server setprop pkg/inst_root=/repo/sol-11_2-beta
svccfg -s application/pkg/server setprop pkg/readonly=true
svccfg -s application/pkg/server setprop pkg/port=83
svcadm refresh application/pkg/server
svcadm enable application/pkg/server
wget localhost:83
sudo pkg set-publisher -G '*' -g http://localhost:83 solaris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment