Class: Renuo::Cli::Commands::Ci::Setup
- Inherits:
-
Object
- Object
- Renuo::Cli::Commands::Ci::Setup
- Defined in:
- lib/renuo/cli/commands/ci/setup.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/renuo/cli/commands/ci/setup.rb', line 12 def run system! "echo 'deb [trusted=yes] https://repo.nine.ch/deb/ /' " \ "| sudo tee /etc/apt/sources.list.d/repo.nine.ch.list" system! "sudo apt-get update -qqo Dir::Etc::sourcelist=/etc/apt/sources.list.d/repo.nine.ch.list" system! "sudo apt-get install -qq nctl" system! "nctl auth login" end |