1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

F #1684: Add - LXD suffix to marketplaceapps from linuxcontainers

This commit is contained in:
Daniel Clavijo Coca 2019-02-09 06:54:54 -06:00 committed by Ruben S. Montero
parent 477e7fb9b0
commit 2cdf971d68
2 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class LinuxContainersMarket
tmpl = ""
print_var(tmpl, "NAME", "#{distro[0...-1]}_#{version[0...-1]}")
print_var(tmpl, "NAME", "#{distro[0...-1]}_#{version[0...-1]} - LXD")
print_var(tmpl, "SOURCE", "#{source}")
print_var(tmpl, "IMPORT_ID", id)
print_var(tmpl, "ORIGIN_ID", "-1")

View File

@ -383,6 +383,7 @@ class OpenNebulaVM
case signal
when 'start'
# TODO: Allow to set vnc command on VM template
command = @lxdrc[:vnc][:command]
"#{data['PORT']} #{pass} lxc exec #{@vm_name} #{command}\n"
when 'stop'