Skip to content

Commit

Permalink
7884 can't unconfigure not-yet-booted zone
Browse files Browse the repository at this point in the history
Reviewed by: Adam Števko  <adam.stevko@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
  • Loading branch information
Alexander Pyhalov committed Feb 16, 2017
1 parent 63fe3be commit 6cfa873
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/brand/system-unconfigure
Expand Up @@ -79,6 +79,7 @@ disable_ldap() {
SVCCFG=${ROOTDIR}/usr/sbin/svccfg
export ROOTDIR SVCCFG_DTD SVCCFG_REPOSITORY SVCCFG
$SVCCFG -s "network/ldap/client:default" setprop general/enabled=false
return 0
}

reset_hosts() {
Expand Down Expand Up @@ -171,8 +172,8 @@ reset_sysding() {
SVCCFG_REPOSITORY=$ALTROOT/etc/svc/repository.db \
SVCCFG_CONFIGD_PATH=/lib/svc/bin/svc.configd \
svccfg -s svc:/system/sysding:system setprop \
config/finished=false || \
bomb "Failed to reset sysding config/finished property"
config/finished=false
return 0
}

reset_vfstab() {
Expand Down

0 comments on commit 6cfa873

Please sign in to comment.