From c8c53b8689ea0e8d848dc3428e99a3116b55f5c5 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 21 Apr 2013 21:27:36 +0000 Subject: quick and dirty network configurtation --- install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'install') diff --git a/install b/install index 425660b..402f531 100755 --- a/install +++ b/install @@ -24,6 +24,7 @@ import os import re import sys import math +import shutil # Snack screen screen = None @@ -822,8 +823,16 @@ def configure_bootenv(): write_vfstab() mount_in_bootenv() in_bootenv(['/usr/sbin/devfsadm']) + open(rootdir + '/reconfigure', 'w').close() configure_packages() configure_nodename() + + # quick and dirty: if network is configured on livecd, copy config into boot env + try: + shutil.copy2('/etc/ipadm/ipadm.conf', + rootdir+'/etc/ipadm/ipadm.conf') + except: + pass set_root_password() create_bootarchive() -- cgit v1.2.3