script generated by argonaut-repository not functional
I followed the guide here : http://documentation.fusiondirectory.org/en/documentation/plugin/argonaut_plugin/how_to_setup_argonaut_plugin_fai_mirror
here by LDAP record of my repository host
cn: intra-fai description: Serveur FAI gotoMode: locked ipHostNumber: 10.69.92.4 macAddress: 08:00:27:43:DD:9C argonautMirrorDir: /srv/www/debian argonautCrawlerPackagesFolder: /var/cache/argonaut/packages argonautLdap2repErrors: TRUE argonautLdap2repSource: FALSE argonautLdap2repGPGCheck: FALSE argonautLdap2repContents: TRUE argonautLdap2repVerbose: TRUE FAIrepository: http://ftp2.fr.debian.org/debian|ftp2.fr.debian.org|squeeze|main,non-free,contrib|install|local|amd64,i386 objectClass: top objectClass: GOhard objectClass: goServer objectClass: gotoWorkstationTemplate objectClass: argonautMirrorConfig objectClass: FAIrepositoryServer
the generted script is
#!/bin/sh debmirror --nocleanup --ignore-release-gpg --nosource --ignore-small-errors --getcontents --arch=amd64,i386 --dist=squeeze --section=main,contrib,non-free --method=http --host=ftp2.fr.debian.org --root= /srv/www/debian/
When I launched it
I get the message
root@intra-fai:~# sh /etc/argonaut/fai/mirror-update-cronjob Option root requires an argument
version used :
root@intra-fai:~# dpkg -l |grep argo
ii argonaut-common 1.0-1~1305071331 Argonaut common functions and librairies
ii argonaut-fai-mirror 1.0-1~1305071331 Scripts to create a local fai mirror
Did I miss something ? /debian is missing behind root= no ?
(from redmine: issue id 2398, created on 2013-05-13, closed on 2013-07-16)
- Changesets:
- Revision 138d326b by Côme Chilliet on 2013-07-01T17:04:23.000Z:
Fixes: #2398 Added error output when repo URI parsing fails
- Revision 7dad1ef2 by Côme Chilliet on 2013-07-16T09:35:06.000Z:
Fixes: #2398 Fixed undeclared $error var