This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Massive modification of hosts

We're about to redefine completely our IPs on our computers, but modifying hosts IPs in astaro one by one can be a bummer.

Is there a better way to do this ? is it possible to change a flat file using sed, or awk to achieve the best result with the less effort ? 

is it possible to expand an .abf backup, then patch the definitions, and repack it for upload ? 

Thanks for your help.


This thread was automatically locked due to age.
Parents
  • Perhaps, you can modify and add objects with the confd command-line client. Better than modifiying the database direct.

    fw:/root # cc
    Confd command-line client.  Maintainer: 
    $Id: confd-client.pl,v 1.107.2.8.2.8 2009/05/08 09:55:03 ischwarze Exp $

    Connected to 127.0.0.1:4472, SID = IEAQlemMSzFQDLRmPBrZ.
    Available modes: MAIN OBJS RAW WIZARD.
    Type mode name to switch mode.
    Typing 'help' will always give some help.
Reply
  • Perhaps, you can modify and add objects with the confd command-line client. Better than modifiying the database direct.

    fw:/root # cc
    Confd command-line client.  Maintainer: 
    $Id: confd-client.pl,v 1.107.2.8.2.8 2009/05/08 09:55:03 ischwarze Exp $

    Connected to 127.0.0.1:4472, SID = IEAQlemMSzFQDLRmPBrZ.
    Available modes: MAIN OBJS RAW WIZARD.
    Type mode name to switch mode.
    Typing 'help' will always give some help.
Children
No Data