Sha256: df2d4a311500c5f9c969da99eae2a6224ea4c6a5a092eb3e44a13f563c9a7da9

Contents?: true

Size: 614 Bytes

Versions: 15

Compression:

Stored size: 614 Bytes

Contents

require 'egon/undercloud/commands'
require 'egon/undercloud/ssh-connection'
require 'egon/undercloud/installer'

SSH_HOST = ARGV[0]
SSH_USER = ARGV[1]
SSH_PASSWORD = ARGV[2]

# Satellite URL
# https://server
SATELLITE_URL = ARGV[3]
SATELLITE_ORG = ARGV[4]
SATELLITE_ACTIVATION_KEY = ARGV[5]

connection = Egon::Undercloud::SSHConnection.new(SSH_HOST, SSH_USER, SSH_PASSWORD)
installer = Egon::Undercloud::Installer.new(connection)
installer.install(Egon::Undercloud::Commands.OSP7_satellite(SATELLITE_URL, SATELLITE_ORG, SATELLITE_ACTIVATION_KEY))
while !installer.completed?
  sleep 1
end  
installer.check_ports

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
egon-0.4.7 bin/undercloud-install-satellite.rb
egon-0.4.6 bin/undercloud-install-satellite.rb
egon-0.4.5 bin/undercloud-install-satellite.rb
egon-0.4.4 bin/undercloud-install-satellite.rb
egon-0.4.3 bin/undercloud-install-satellite.rb
egon-0.4.2 bin/undercloud-install-satellite.rb
egon-0.4.1 bin/undercloud-install-satellite.rb
egon-0.4.0 bin/undercloud-install-satellite.rb
egon-0.3.6 bin/undercloud-install-satellite.rb
egon-0.3.5 bin/undercloud-install-satellite.rb
egon-0.3.4 bin/undercloud-install-satellite.rb
egon-0.3.3 bin/undercloud-install-satellite.rb
egon-0.3.2 bin/undercloud-install-satellite.rb
egon-0.3.1 bin/undercloud-install-satellite.rb
egon-0.3.0 bin/undercloud-install-satellite.rb