Is it possible to run command / scripts with root privileges with postprocess: true in run action
#545
Unanswered
AdithyaTSIP
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
what commands are you trying to run? It sounds wrong to need root access after the image is built to me :-) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an use case where I need to run a script as postprocess because I need the final .img file before I run the script. The script that I need to run has a few operations like mount which needs root privileges.
I understand that commands/scripts running with
chroot: true/falserun with root privileges, but that's not the case whenpostprocess: true.And, by the way I am using a debos docker container
Is there a way I can achieve what I described above with debos?
Beta Was this translation helpful? Give feedback.
All reactions