#mkdir /pkg
#mkdir /repo
#cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > sol-11-1111-repo-full.iso
#vi /etc/rc3.d/S99mountpkg
#!/bin/sh
mount -F hsfs /pkg/sol-11-1111-repo-full.iso /repo
#pkg unset-publisher solaris (if you set solaris as mirror directly, that will caused problem, they need connection directly to the original one)
#pkg set-publisher -g file:///repo/repo -P solaris
#pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online file:///repo/repo/
#pkg update
#mkdir /repo
#cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > sol-11-1111-repo-full.iso
#vi /etc/rc3.d/S99mountpkg
#!/bin/sh
mount -F hsfs /pkg/sol-11-1111-repo-full.iso /repo
#pkg unset-publisher solaris (if you set solaris as mirror directly, that will caused problem, they need connection directly to the original one)
#pkg set-publisher -g file:///repo/repo -P solaris
#pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online file:///repo/repo/
#pkg update
评论