vbuild-init-lxc remove unuseful lines...
authorMohamed Larabi <mohamed.larabi@inria.fr>
Fri, 1 Feb 2013 17:15:43 +0000 (18:15 +0100)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Fri, 1 Feb 2013 17:15:43 +0000 (18:15 +0100)
vbuild-init-lxc.sh

index 5105cd4..63c8381 100755 (executable)
@@ -594,12 +594,6 @@ function setup_lxc() {
 
     [ -z $ssh_up ] && echo "SSHD in container $lxc is not running"
    
-    # set hostname for fedora18
-    if [[ "$fcdistro" == "f18" ]] ; then 
-       echo $HOSTNAME
-       #ssh -o "StrictHostKeyChecking no" $IP "hostnamectl set-hostname '$HOSTNAME'" 
-    fi
-
     # rpm --rebuilddb
     chroot $rootfs_path rpm --rebuilddb
     #ssh -o "StrictHostKeyChecking no" $IP "rpm --rebuilddb"