diff options
-rwxr-xr-x | install | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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() |