Skip to content

Instantly share code, notes, and snippets.

@letientai299
Created September 20, 2017 22:38
Show Gist options
  • Save letientai299/71d479b4244c221a6fd8e7de69aecefe to your computer and use it in GitHub Desktop.
Save letientai299/71d479b4244c221a6fd8e7de69aecefe to your computer and use it in GitHub Desktop.
Original command
```sh
cdebootstrap \
--flavour=minimal \
--exclude="dmsetup,e2fsprogs,init,systemd-sysv,systemd,udev" \
--include="bash,ca-certificates,git,netcat-traditional" \
stable ./debian-minbase
```
fail due to missing default mirror.
Fix by adding the mirror as the end of the command.
```sh
cdebootstrap \
--flavour=minimal \
--exclude="dmsetup,e2fsprogs,init,systemd-sysv,systemd,udev" \
--include="bash,ca-certificates,git,netcat-traditional" \
# Use debian mirror.
stable ./debian-minbase http://deb.debian.org/debian/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment