koble exec

run a command on a machine

koble exec [options] MACHINE [COMMAND [ARG...]]

Examples

koble machine exec --workdir / a0 ls -a
koble machine exec --user root b1 ping -c 127.0.0.1

Options

  -d, --detach                    Run the command in detached mode (backgrounded)
  -h, --help                      help for exec
      --term-opt stringToString   option to pass to terminal (default [])
  -t, --terminal string           terminal to launch (default "gnome")
  -u, --user string               User to execute shell as.
  -w, --workdir string            Working directory to execute from.

Options inherited from parent commands

      --driver string      name of driver to use
      --namespace string   namespace to use
      --no-color           disable coloured output
      --plain              disable interactive and coloured output
      --quiet              only show errors in log errors
  -v, --verbose count      verbose output

SEE ALSO

  • koble - Koble is a network emulation tool

Auto generated by spf13/cobra on 1-Mar-2022