You are here

Activate NTP in a Zone

Primary tabs

# 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                               4.2.8.2-2015.0.1.0         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
online         23:01:11 svc:/network/ntp:default

Reference: https://www.illumos.org/issues/5845