-#!/usr/bin/python2 -u
+#!/usr/bin/python
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
hosts_file.write( "127.0.0.1 localhost\n" )
if method == "static":
hosts_file.write( "%s %s.%s\n" % (ip, hostname, domainname) )
- hosts_file.close()
- hosts_file= None
-
+ hosts_file.close()
+ hosts_file= None
file_path= "%s/etc/resolv.conf" % vserver_dir
if method == "dhcp":