Class: Bosh::Bootstrap::Cli::Commands::Deploy

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/bosh-bootstrap/cli/commands/deploy.rb

Instance Method Summary collapse

Methods included from Helpers::Settings

#migrate_old_settings, #reload_settings!, #save_settings!, #setting, #settings, #settings_dir, #settings_dir=, #settings_path, #settings_ssh_dir

Methods included from Helpers::KeyPair

#setup_keypair

Methods included from Helpers::Interactions

#bold, #clear, #cyan, #green, #hl, #red, #yellow

Methods included from Helpers::Bundle

#bundle, #run

Instance Method Details

#performObject

  • select_provider

  • select_or_provision_public_networking # public_ip or ip/network/gateway

  • select_public_image_or_download_stemcell # download if stemcell

  • create_microbosh_manifest

  • microbosh_deploy



16
17
18
19
20
21
22
23
24
25
# File 'lib/bosh-bootstrap/cli/commands/deploy.rb', line 16

def perform
  settings.set_default("bosh.name", "firstbosh")
  save_settings!

  select_provider
  select_or_provision_public_networking
  setup_keypair
  select_public_image_or_download_stemcell
  perform_microbosh_deploy
end