On Thu, 08 Aug 2019 15:46:56 +1000 "Trent W. Buck" <trentb...@gmail.com> wrote:
> When I try this with mmdebstrap, it hangs forever waiting for a sources.list
> on stdin, EVEN THOUGH I have supplied one on the CLI.
> 
>     ssh otherplace mmdebstrap buster /tmp/x http://apt/debian
>     [...]
>     I: Reading sources.list from standard input...
> 
> This is because mmdebstrap:1957 assumes if stdin is either a tty, or is a
> sources.list.

another problem occurs when you do this:

ssh otherplace << END

somecommand

mmdebstrap untable /directory

othercommand

END

Then mmdebstrap will receive "othercommand" as input.

Attachment: signature.asc
Description: signature

Reply via email to