- # however for cases like when vref is 'planetflow', if we do not understand
- # any of the wishes we take vref as is
- # this could be improved by having the vserver-reference init script be a bit smarter
- # so we could take planetflow as the pldistro part here
- as_is=None
- # defaults
- default=file("/etc/planetlab/defaultvref").read().strip()
+ # so e.g. if the default slice family (as found in /etc/planetlab/slicefamily)
+ # is planetlab-f8-i386, then here is what we get
+ # vref=x86_64 -> vuseradd -t planetlab-f8-x86_64
+ # vref=centos5 -> vuseradd -t planetlab-centos5-i386
+ # vref=centos5-onelab -> vuseradd -t onelab-centos5-i386
+ # vref=planetflow -> vuseradd -t planetflow-f8-i386
+ # vref=x86_64-planetflow -> vuseradd -t planetflow-f8-x86_64
+
+ # default
+ default=file("/etc/planetlab/slicefamily").read().strip()