Use vcsh when provisioning virtual environments

Richard Hartmann richih.mailinglist at gmail.com
Wed Feb 15 11:30:54 CET 2012


On Wed, Feb 15, 2012 at 08:57, Thomas Koch <thomas at koch.ro> wrote:

> In the case of schroot this means to add a vcsh script in /etc/schroot/setup.d
> (see man schroot-setup) that checks whether a given set of vcsh repos is
> cloned into the home dir of the user entering the chroot.

After googling schroot (you shouldn't assume everyone knows all the
tools you use ;) I think I know what you mean and thus want.

What about:

  [ -e .config/vcsh ] && exit 0
  vcsh clone my_mr_repo
  cd .config/mr/config.d
  ln -s ../{foo,bar,baz} .
  cd
  mr up

That should do what you want.


Richard


More information about the vcs-home mailing list