- also copy Fedora signing key to reference images
Mark Huang [Mon, 8 May 2006 20:52:30 +0000 (20:52 +0000)]
vserver-reference.init

index 21242ab..d231190 100755 (executable)
@@ -60,10 +60,11 @@ setattr --barrier /vservers
 # Copy configuration files from host to slices
 for file in /etc/hosts /etc/resolv.conf /etc/yum.conf /etc/planetlab/node_id \
             /etc/planetlab/plc_config* /etc/planetlab/php/* \
+            /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora \
             /etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab ; do
     if [ -r $file ] ; then
        for vroot in $VROOTS ; do
-           if [ "$file" = "/etc/pki/rpm-gpg/RPM-GPG-KEY-planetlab" -a \
+           if [ "$(dirname $file)" = "/etc/pki/rpm-gpg" -a \
                 ! -f $vroot/$file ] ; then
                import=1
            else