Commit f045c9a
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 f045c9a
2 files changed
Lines changed: 6 additions & 1 deletion
| 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 | | |
| |||
5769 | 5772 | | |
5770 | 5773 | | |
5771 | 5774 | | |
| 5775 | + | |
5772 | 5776 | | |
5773 | 5777 | | |
5774 | 5778 | | |
| |||
6533 | 6537 | | |
6534 | 6538 | | |
6535 | 6539 | | |
| 6540 | + | |
6536 | 6541 | | |
6537 | 6542 | | |
6538 | 6543 | | |
| |||
0 commit comments