hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.28k stars 4.43k forks source link

Enhancement Request: chroot/fakeroot provider #11545

Open axet opened 4 years ago

axet commented 4 years ago

Is your feature request related to a problem? Please describe. vagrant configuration should work with lightweight provider by user choice. Currently implemented options (virtualbox, libvirt, docker) are heavy and required additional changes to the Vagrant config file to switch from using virtualmachines. Would be nice to have chroot/fakeroot as lightweight provider supporting sshfs plugins / rsync commands. This configuration allow to simplify setup on linux machines running linux containers without additional configuration changes (for example ubuntu as host running debian as container)

Describe the solution you'd like vagrant up --provider=chroot

Describe alternatives you've considered

debootstrap --arch i386 buster /var/chroot/buster32 http://deb.debian.org/debian
chroot /var/chroot/buster32

Additional context Add any other context or screenshots about the feature request here.

necrose99 commented 4 years ago

Chroot, type ie distro could be a plus.. Funtoo , gentoo, etc. Get stage3, 4 tarball , (base rootfs) Unpack.
https://github.com/dozzie/yumbootstrap , for centos etc.