]> git.proxmox.com Git - aab.git/commitdiff
remove extra mkdir $self->{rootfs} in initialize
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 25 Apr 2019 17:53:56 +0000 (19:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 Apr 2019 08:17:03 +0000 (08:17 +0000)
The mkdir in intialize is not too helpful since, ve_init, which usually gets
called soon after (`aab init` is followed by `aab bootstrap` in the Makefile)
has a `rmtree $self->{rootfs}` and recreates it directly afterwards again.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/AAB.pm

index bfccf1277b25ffc4b8102cdc8599d983c6c4edf1..fa65a1e3455cd904daa95825c07f7d9004d4e7d9 100644 (file)
@@ -260,8 +260,6 @@ EOF
        print $fh "[multilib]\n$servers\n";
     }
 
-    mkdir $self->{rootfs} || die "unable to create rootfs - $!";
-
     $self->logmsg("configured VE $self->{veid}\n");
 }