]> git.proxmox.com Git - qemu-server.git/commitdiff
qm mtunnel: add tunnel version
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Aug 2017 12:54:00 +0000 (14:54 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 7 Aug 2017 07:23:56 +0000 (09:23 +0200)
to allow detection of supported features/commands for these
and future mtunnel changes.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/CLI/qm.pm

index e1921531c39420ef25a77d22457e136d678f273e..07e3b2ef38f6567dab6c6c813fc64bcf477eefaa 100755 (executable)
@@ -268,6 +268,9 @@ __PACKAGE__->register_method ({
        print "tunnel online\n";
        *STDOUT->flush();
 
+       print "ver 1\n";
+       *STDOUT->flush();
+
        while (my $line = <>) {
            chomp $line;
            last if $line =~ m/^quit$/;