teamd-installer 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9765b3e9d9e1d94257c474318fa1e35bad47ac15
4
- data.tar.gz: 3311ff4e9bcd5df5c0ede512f1dd0902c7f2ad21
3
+ metadata.gz: c5deb653d58f2e0ffde2d58c83d4daacdb021b5f
4
+ data.tar.gz: 82ba362357bfd45962fe2f2987a3258ef7de734e
5
5
  SHA512:
6
- metadata.gz: 51bc2075284c8dec08459f96c01bdf80a28a6484a26f047c7e92a3cfd2ec08cae7732ee5ffad1a4bf27a05e4eb9e0df97fddcac19dfac15e9a3a73606647f8d4
7
- data.tar.gz: f479c015c7db643c0fbeb8d594c2b69f497023049200d94c483347d8fb097b72dcd01d61dc2ef51ada9a8bc5b8453a95c89b3d1e1e57abd91c01b81ae1d02ff1
6
+ metadata.gz: 7e9a44cf8a051d2dae29717bff601661ae052f4b705b4c577e232d9c69b60be7ee7bb25e4c9b8972cb92c76979b8b7baa5b8643b956709225f1082d9ad741bdd
7
+ data.tar.gz: 472d02efb180e00665685f2331c924f89f55a955cdeddd3a2cb30c08b20e3f38024e92696181212ce049ff1b591e9172ede750ce3de8568435dd6f98fbbf24ce
data/docker/Dockerfile CHANGED
@@ -4,6 +4,6 @@ MAINTAINER Mathias Kaufmann <me@stei.gr>
4
4
  RUN apk update && \
5
5
  apk add ruby ruby-dev ca-certificates bash wget gnupg util-linux coreutils bzip2 && \
6
6
  gem update --system --no-ri --no-rdoc
7
- RUN gem install --no-ri --no-rdoc --version 0.0.13 teamd-installer
7
+ RUN gem install --no-ri --no-rdoc --version 0.0.14 teamd-installer
8
8
 
9
9
  ENTRYPOINT ["/usr/bin/teamd-installer"]
@@ -37,10 +37,6 @@ module Teamd
37
37
 
38
38
  desc "install","Install CoreOS"
39
39
  method_option :etcd_discovery_id, type: :string
40
- method_option :private_interface, type: :string, default: "eth0"
41
- method_option :public_interface, type: :string, default: "eth1"
42
- method_option :etcd_initialize_cluster, type: :boolean, default: :false
43
- method_option :etcd_cluster_size, type: :numeric, default: 3
44
40
  method_option :installer_url, type: :string, default: "https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install"
45
41
  method_option :installer_script, type: :string, default: "/tmp/installer"
46
42
  method_option :cloud_config, type: :string, default: "/tmp/user_data"
@@ -55,17 +51,11 @@ module Teamd
55
51
 
56
52
  desc "prepare", "Write cloud-config to linked file and exit"
57
53
  method_option :etcd_discovery_id, type: :string
58
- method_option :private_interface, type: :string, default: "eth0"
59
- method_option :public_interface, type: :string, default: "eth1"
60
- method_option :etcd_initialize_cluster, type: :boolean, default: :false
61
- method_option :etcd_cluster_size, type: :numeric, default: 3
62
54
  method_option :cloud_config, type: :string, default: "/tmp/user_data"
63
- method_option :command_file, type: :string, default: "/tmp/install_command"
64
- method_option :installer_url, type: :string, default: "https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install"
65
- method_option :installer_script, type: :string, default: "/tmp/installer"
55
+ method_option :command_file, type: :string, default: "coreos-install"
66
56
  def prepare
67
57
  Cli.build_cloud_config options
68
- Cli.build_install_command options
58
+ File.write options[:command_file],"-c #{options[:cloud_config]} -d /dev/#{Disk.default[0]}"
69
59
  end
70
60
  end
71
61
  end
@@ -1,5 +1,5 @@
1
1
  module Teamd
2
2
  module Installer
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamd-installer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Kaufmann