[pve-devel] [PATCH container 1/2] pct mount: tell user where he can find the mounted CT
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Nov 16 15:07:39 CET 2017
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
src/PVE/CLI/pct.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/CLI/pct.pm b/src/PVE/CLI/pct.pm
index 3253906..b82e04b 100755
--- a/src/PVE/CLI/pct.pm
+++ b/src/PVE/CLI/pct.pm
@@ -297,6 +297,8 @@ __PACKAGE__->register_method({
my $conf = PVE::LXC::Config->set_lock($vmid, 'mounted');
PVE::LXC::mount_all($vmid, $storecfg, $conf);
});
+
+ print "mounted CT $vmid in '/var/lib/lxc/$vmid/rootfs'\n";
return undef;
}});
--
2.11.0
More information about the pve-devel
mailing list