dock0 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/dock0.gemspec +1 -1
  3. data/lib/dock0.rb +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a058399594c177fae5d29dea2ecf33128d0025c3
4
- data.tar.gz: 69f9a499b57129ac2705e0abc6f734375966cc48
3
+ metadata.gz: cc3c138d043aef95e929af24a223f1f8fda053fb
4
+ data.tar.gz: c5a36df9db1f32a153c88f13da36bd133acc4b13
5
5
  SHA512:
6
- metadata.gz: 94f2b79dfd03ce62ae6638321be01047302f682ebc4262fd08007a73f68e5f64b0980ea33e02e5f448ea6cdc9d0527b9c039425a99ffe52fe0687950c9413919
7
- data.tar.gz: 09e412afb03752a9ee54b765dd53a5ba240222da1340fb6edb4427307d0eef8a650b2163fdf4ab7ee72081ed3c65f13d989f03894d1d239637a76fbabb99d401
6
+ metadata.gz: 24b03c715aef619605556ff31762faa9cb851813457da44cf070e10c393cd2c1f963a3a41f11f1caf4b450e6076181028590d2922cf42de4d218b87951097e0f
7
+ data.tar.gz: 7032ae88b26e973c2a7f30141c7110e11144e3050ec7c50f75f02bf1b8407d7acc2e2196d1e70e8958b27d736100589c19999eb76976845fe7e630b54f045340
data/dock0.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'dock0'
3
- s.version = '0.0.10'
3
+ s.version = '0.0.11'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Builds a read-only Arch host for Docker'
data/lib/dock0.rb CHANGED
@@ -57,8 +57,9 @@ module Dock0
57
57
  end
58
58
 
59
59
  def prepare_device
60
+ @config['root_type'] ||= 'ext4'
60
61
  puts "Making new filesystem on #{@config['paths']['device']}"
61
- run "mkfs.ext4 -F #{@config['paths']['device']}"
62
+ run "mkfs.#{@config['root_type']} -F #{@config['paths']['device']}"
62
63
  puts "Mounting filesystem on #{@config['paths']['mount']}"
63
64
  FileUtils.mkdir_p @config['paths']['mount']
64
65
  run "mount #{@config['paths']['device']} #{@config['paths']['mount']}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dock0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-27 00:00:00.000000000 Z
11
+ date: 2014-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop