> > + if($conf->{vga} eq 'qxl'){ > > + my $res = PVE::QemuServer::vm_mon_cmd($vmid, 'query-spice'); > > + push @$cmd, '--spiceticket', $res->{ticket} if $res->{ticket}; > > + } > > + > > Using passwords/ticktes on the command line is a bad idea, because any > system user can see it with a simple "ps auxww", so we want to avoid that. > > Maybe we can add a new sub-command to the migration tunnel ( 'qm > mtunnel')?
Just had a better idea - we can simply read the spice ticket from STDIN on 'qm start'. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel