lxdev 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/lxdev/main.rb +2 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 89ef324866241a499cc2a534017f1fd7f9077283
4
- data.tar.gz: 5b737412379553963e270bc83cef313a981c63a7
2
+ SHA256:
3
+ metadata.gz: 509a1fe96d989df0a53f8a9234129ccce89504521adb358cfcd837053db5f1cd
4
+ data.tar.gz: 12180a752fd2683f30cbfe15c853f6979fedbb3151547b3d7aefcc842c0d564e
5
5
  SHA512:
6
- metadata.gz: ee2d6b22de39bab310a02e2f416b169dc63b18578f92f6334f32fbc2bdf5fded3e93ab726ec4c0e7b056e12a0329a6a63f18dce693c85a5570b0dd299a3b8415
7
- data.tar.gz: e1fe6a8b1b38faf1cb8ae31ffc3d360999cf3c889aa94dc3fcfbdc933b9f033b79cf059eed73c82fb4c410298514623c4da783454410ec35657b2d1e747c362d
6
+ metadata.gz: 3925a9f8ecbeb0e7ba875bf3ce3d2501e4654fdb96a52a197928f8903d22d0daa2d8e1771f54d8c2c3060d3204a03e21f28cb0e50d8f536e386b607d2f7c94b9
7
+ data.tar.gz: e091f4dda9ce752cf7f64b4f6464699189c9d3c380e995a63e390cf7f7b1223d9e6e9ea7143bce13c1236a01a364a7f0d0ce2b84cfa28a22b6c8483c83317618
@@ -9,7 +9,7 @@ module LxDev
9
9
  WHITELISTED_SUDO_COMMANDS = ["lxc", "redir", "kill"]
10
10
  SHELLS = ["bash", "zsh", "sh", "csh", "tcsh", "ash"]
11
11
  BOOT_TIMEOUT = 30
12
- VERSION = '0.1.7'
12
+ VERSION = '0.1.8'
13
13
 
14
14
  def initialize(config_file, state_file)
15
15
  @state_file = format(".lxdev/%s", state_file)
@@ -221,6 +221,7 @@ module LxDev
221
221
  puts "Launching #{@name}..."
222
222
  System.exec("sudo lxc init #{@image} #{@name}")
223
223
  System.exec(%{printf "uid #{@uid} 1001\ngid #{@gid} 1001"| sudo lxc config set #{@name} raw.idmap -})
224
+ System.exec(%{sudo lxc config set #{@name} boot.autostart false})
224
225
  System.exec("sudo lxc start #{@name}")
225
226
  puts "Creating user #{@user}..."
226
227
  create_container_user(@user)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lxdev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Lønaas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-06-08 00:00:00.000000000 Z
12
+ date: 2020-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.5.2.2
72
+ rubygems_version: 2.7.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Automagic development environment with LXD