Quantcast
Channel: rkt/image building: acbuild run instructions "ignored" - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by DonTseTse for rkt/image building: acbuild run instructions "ignored"

$
0
0

Ok, I understood what happens using the the acbuild run --debug option. When

acbuild run -- echo 'root:screencast' | chpasswd

gets executed it returns Running: [echo root:screencast] , the pipe is executed on the host machine. To get the intended result it should be

acbuild run -- /bin/sh -c "echo 'root:screencast' | chpasswd"

or in generic form

acbuild run -- /bin/sh -c "<cmd with pipes>"

as explained here


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>