You are here

alarcher's blog

[IPS] Python transform

In general *.pyc files are not delivered in components.

To bypass dependency search:

<transform file path=usr/path/to/.*\.py$ \
    -> default pkg.tmp.autopyc false>

Default transforms are located in transforms/autopyc.

Activate NTP in a Zone

# zlogin my_zone pkg list osnet-incorporation ntp
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/osnet/osnet-incorporation           0.5.11-2015.0.0.14982      i--
service/network/ntp                              i--

# zonecfg -z my_zone set limitpriv="default,sys_time" 
# zoneadm -z my_zone reboot
# zlogin my_zone

my_zone# echo "server my.ntp.server" > /etc/inet/ntp.conf
my_zone# svcadm enable ntp
my_zone# svcs ntp
STATE          STIME    FMRI

IPS Mediated Links

Mediated links allow switching system-wide between different software versions.

For instance, we may need to switch between different versions of GCC.

Each version lives in /usr/gcc/$(GCC_VERSION) but default version has symlinks in /usr.

Subscribe to RSS - alarcher's blog