sapoku 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sapoku.rb +3 -3
  2. metadata +1 -1
@@ -36,9 +36,9 @@ class Gyro
36
36
 
37
37
  # actually creates and initializes the container
38
38
  def bootstrap
39
- system("lxc-clone -o frox -n #{@app_name}")
39
+ system("sudo lxc-clone -o frox -n #{@app_name}")
40
40
  create_config
41
- system("lxc-start -n #{@app_name} -d")
41
+ system("sudo lxc-start -n #{@app_name} -d")
42
42
  create_iptables
43
43
  end
44
44
 
@@ -68,7 +68,7 @@ class Gyro
68
68
  f.write erb.result(self.get_binding)
69
69
  end
70
70
 
71
- system("mv #{@name}_config /var/lib/lxc/#{@name}/config")
71
+ system("sudo mv #{@name}_config /var/lib/lxc/#{@name}/config")
72
72
  end
73
73
 
74
74
  # create the new iptables rule to fwd accesses into the container
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: