Skip to content

SamYaple/bad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

$ export BAD_PROXY="http://192.168.1.10:8081"
$ export BAD_APT_RELEASE="jammy"
$ export BAD_ARCH="amd64"
$ export BAD_APT_SOURCES_URL="archive.ubuntu.com/ubuntu"
$ # export BAD_ARCH="arm64"
$ # export BAD_APT_SOURCES_URL="ports.ubuntu.com/ubuntu-ports"
$ # sudo is needed temporarily for CAP_MKNOD to create the /dev/ devices
$ sudo --preserve-env=BAD_PROXY,BAD_ARCH,BAD_APT_SOURCES_URL,BAD_APT_RELEASE ./bad.bash /mnt/ubuntu
########
# All Done!
#
# Target directory ("/mnt/ubuntu")
# has been bootstrapped with dpkg/apt, but not an init system.
#
# Use 'systemd-nspawn -D "/mnt/ubuntu" bash' to spawn a shell
########

About

Bash Apt Dpkg bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages