diff --git a/src/cli/one_helper.rb b/src/cli/one_helper.rb index c36c59dfad..0e5604dc14 100644 --- a/src/cli/one_helper.rb +++ b/src/cli/one_helper.rb @@ -186,6 +186,11 @@ EOT :large => '--vnc', :description => 'Add VNC server to the VM' }, + { + :name => 'spice', + :large => '--spice', + :description => 'Add spice server to the VM' + }, { :name => 'ssh', :large => '--ssh [file]', @@ -816,6 +821,10 @@ EOT template<<'GRAPHICS=[ TYPE="vnc", LISTEN="0.0.0.0" ]'<<"\n" end + if options[:spice] + template<<'GRAPHICS=[ TYPE="spice", LISTEN="0.0.0.0" ]'<<"\n" + end + context=create_context(options) template<