[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding Vagrant support to debian cloud images



Le 13/02/2020 à 14:17, Emmanuel Kasper a écrit :
> Hi
> 
> I had a look this week on how to add to Vagrant support to debian cloud
> images.

I added  my own VAGRANT class which is run after the CLOUD class,
and I can build and run vagrant-libvirt boxes from my branch
https://salsa.debian.org/manu/debian-cloud-images/-/commits/vagrant_initial_support/

Now I am looking at the pytests hooks, which are currently failing, as I
am adding in the VAGRANT class a vagrant user with uid 1000 and a bash
shell.

Should I simply fix the tests by extending the functions in test_etc.py
? I find this a bit ugly as then the hook
./config_space/hooks/tests.CLOUD has code for stuff which is done in a
different CLASS.

On the other hand I don't know how to use the CLOUD class, without
running the ./config_space/hooks/tests.CLOUD hook.

Any ideas here ?

Emmanuel

-- 
You know an upstream is nice when they even accept m68k patches.
  - John Paul Adrian Glaubitz, Debian OpenJDK maintainer


Reply to: