Skip to content

Commit

Permalink
F OpenNebula/packages#70: Fix snap path
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 committed May 9, 2019
1 parent dc4e630 commit 21632f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_mad/remotes/lib/lxd/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def initialize(lxc, one, client)
@one = one

@lxc_command = 'lxc'
@lxc_command.prepend 'sudo ' if client.snap
@lxc_command.prepend 'sudo /snap/bin/' if client.snap

@rootfs_dir = "#{@client.lxd_path}/storage-pools/default/containers/"\
"#{name}/rootfs"
Expand Down

1 comment on commit 21632f6

@GitCop
Copy link

@GitCop GitCop commented on 21632f6 May 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

  • Subject needs to conform to "%{type} #%{issue_number}: %{description}"

Guidelines are available at https://github.com/OpenNebula/one/blob/master/share/doc/dev/COMMIT_MESSAGES.md


This message was auto-generated by https://gitcop.com

Please sign in to comment.