[pve-devel] [PATCH aab 3/5] remove extra mkdir $self->{rootfs} in initialize

Stoiko Ivanov s.ivanov at proxmox.com
Thu Apr 25 19:53:56 CEST 2019


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 at proxmox.com>
---
 PVE/AAB.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/AAB.pm b/PVE/AAB.pm
index bfccf12..fa65a1e 100644
--- a/PVE/AAB.pm
+++ b/PVE/AAB.pm
@@ -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");
 }
 
-- 
2.11.0





More information about the pve-devel mailing list