Skip to content

Instantly share code, notes, and snippets.

@andyshinn
Created November 2, 2015 03:17
Show Gist options
  • Select an option

  • Save andyshinn/3e14bd084be4ee9779f6 to your computer and use it in GitHub Desktop.

Select an option

Save andyshinn/3e14bd084be4ee9779f6 to your computer and use it in GitHub Desktop.
==> rancher-02: Setting hostname...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sed -ri 's@^(([0-9]{1,3}\.){3}[0-9]{1,3})\s+rancher(\s.*)?$@\1 rancher-02 rancher-02@g' /etc/hosts
Stdout from the command:
Stderr from the command:
stdin: is not a tty
sed: cannot rename /etc/sedLzD2FB: Device or resource busy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment