kitchen-qemu 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: '08ae9c0377ea374d6adb8c2be620c77c9d9d42cf'
4
- data.tar.gz: f0452f8a5d7d4f40a89affdf42624ac994afbd44
2
+ SHA256:
3
+ metadata.gz: ed81086e61ca45534c571f78efec8d6f9ba2af10d4c19c14de36af97d298a27b
4
+ data.tar.gz: a68ca80e99e41581a06cb333112369f434fb6573d19f81ba20d306a954dd19b6
5
5
  SHA512:
6
- metadata.gz: cac7744e797028cc7d744d6d9438c6d03befa9e10066bd3aa4f5c9fc8702f31f2b9933e75b8e80eabbf10ee860899129f3c4a5eac04330f373440f56581f64cb
7
- data.tar.gz: c444db7ca03c43fc68ef832e2542fc81b296702aecc07fe707a5cc97eda8fbde013cc1b27cf27afa374bc2b7123854c3f2630de36e22d6b6cfcd1829b2b7a344
6
+ metadata.gz: 557ad6a8d93b23905a5ea747c42af643641eeb84d24ff2c968dc5f8b4f158f46d0e015a7f34bc5fe66500c6fa17364528737f73831418c2f9c0d754d44e2515f
7
+ data.tar.gz: 8cdd899fe1035a457848dc6dba4672fccbc45359f1f90a46a924d4e718339069afdd3af52a969bbc9fe0f294ad0952f4b8fa88f781735c88604a809ccba60cb8
@@ -227,7 +227,7 @@ module Kitchen
227
227
  drive.push("snapshot=#{image[:snapshot]}") if image.has_key?(:snapshot)
228
228
  drive.push("discard=#{image[:discard]}") if image.has_key?(:discard)
229
229
  drive.push("detect-zeroes=#{image[:detect_zeroes]}") if image.has_key?(:detect_zeroes)
230
- if image[:file][0] == '/'
230
+ if ['/', '.'].include? image[:file][0]
231
231
  drive.push("file=#{image[:file]}")
232
232
  else
233
233
  drive.push("file=#{config[:image_path]}/#{image[:file]}")
@@ -292,7 +292,7 @@ module Kitchen
292
292
  conn.execute(<<-EOS)
293
293
  sudo sh -s 2>/dev/null <<END
294
294
  echo '127.0.0.1 #{names}' >> /etc/hosts
295
- hostnamectl --transient set-hostname #{hostname} || hostname #{hostname}
295
+ hostnamectl set-hostname #{hostname} || hostname #{hostname}
296
296
  END
297
297
  umask 0022
298
298
  install -dm700 "$HOME/.ssh"
@@ -17,6 +17,6 @@
17
17
  module Kitchen
18
18
  module Driver
19
19
  # Version string for the QEMU Kitchen driver
20
- QEMU_VERSION = '0.2.8'
20
+ QEMU_VERSION = '0.2.9'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-qemu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Renner Berthing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.6.8
57
+ rubygems_version: 2.7.3
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Kitchen::Driver::Qemu - A QEMU Driver for Test Kitchen.