Commit be49cc8
committed
chroot: error out on --network != host when $BUILDAH_ISOLATION
Error out if someone tries to mix the --network CLI flag, with a value
other than "host", with chroot isolation configured by setting
$BUILDAH_ISOLATION to "chroot", as we have been doing for cases where
it's done using the "--isolation" option, instead of just ignoring it as
we did previously.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>1 parent c97d402 commit be49cc8
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
572 | 575 | | |
573 | 576 | | |
574 | 577 | | |
| |||
0 commit comments