Oracle Solaris System Administration (MOSC)

MOSC Banner

how to remove a zone property

edited Apr 7, 2020 3:19AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓

I have troubles how to find the proper command removing a property from a zone config.

Given -

zonecfg:lo-sol-j01> info

zonename: lo-sol-j01

zonepath: /zones/lo-sol-j01

brand: solaris

autoboot: true

anet 0:

  linkname: vnet0

  lower-link: net0

  configure-allowed-address: true

  mac-slot: 7

  vlan-id: 1032

capped-memory:

  physical: 64G

How can I only the remove lower-link property (if possible)? I don't get the syntax.

zonecfg:lo-sol-j01> select anet 0

zonecfg:lo-sol-j01:anet> remove value lower-link=net0

does not work.

And this removes the complete network config, which is way too much:

zonecfg:lo-sol-j01> remove anet lower-link=net0


I'm also very interested to run this as a one-liner.

$ zonecfg -z lo-sol-j01; "select anet 0; ...

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center