This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Resolve-Host() | |
{ | |
Param( | |
[Parameter(Mandatory=$true,Position=0)] $HostEntry, | |
[Switch] $HostnameToIP, | |
[Switch] $FlushDNS | |
) | |
If($FlushDNS) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
cat <<EOF | |
Usage: $0 <docker image> <ssh args> | |
<docker image> the name of the image to transfer | |
<ssh args> all arguments are passed through to ssh to establish the connection | |
EOF | |
exit 1 | |
fi |
OlderNewer