Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Edit non-global zone IP address - non-interactively

$
0
0
Hi there

I have a global zone with 178 zones on it :-)

The entire box is moving to an entirely new network and I need to write a script that will configure the zones config file in /etc/zones for each of them changing the IP address - but non-interactively

The line I need to change would be , for example

[CODE]<network address="10.10.10.90" physical="nxge1"/>CODE]

to a new IP ..

is there a way of me doing a 'one liner' to change the IP?

any help would be greatly appreciated

Viewing all articles
Browse latest Browse all 16232

Trending Articles