Class: RouterosGuestPlugin::Cap::ConfigureSSHShell
- Inherits:
-
Object
- Object
- RouterosGuestPlugin::Cap::ConfigureSSHShell
- Defined in:
- lib/guest/cap/configure_ssh_shell.rb
Class Method Summary collapse
Class Method Details
.set_ssh_shell(machine) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/guest/cap/configure_ssh_shell.rb', line 7 def self.set_ssh_shell(machine) if machine.config.vm.guest == :routeros # Echo a message on the guest machine machine.ui.info("Setting ssh shell and sudo command to # for RouterOS") machine.config.ssh.shell = "#" machine.config.ssh.sudo_command = "#" end end |