v1.8 make script typo's

View: New views
2 Messages — Rating Filter:   Alert me  

v1.8 make script typo's

by KernalPanic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to let every know I found some small typo's in the v1.8 script.
 
First one:
When copying a system file, or .FileName, out of the Pelican home folder.
The CP command does not handle these files in the root folder.
  #cp -a "$THISDIR"/pelicanhome/* config/chroot_local-includes/etc/skel/
The rsync command works just fine.
  rsync -az "$THISDIR"/pelicanhome/ config/chroot_local-includes/etc/skel/

The same problem exists below in the WRITE THE PELICAN SETUP SCRIPTS section.
Change:
  rsync -avz /etc/skel/* /home/user/
To:
  rsync -avz /etc/skel/ /home/user/

Just that none of the '.' files were getting copied with the '*'

Also in the 'compute node configuration' section of the script.
Should the line reading:
 mv "$THISDIR/$ARCHITECTURE/$LIVECDDIR"/tftpboot "$THISDIR/$ARCHITECTURE"/
Should it look like this?
 mv "$THISDIR/$ARCHITECTURE/$LIVECDDIR"tftpboot "$THISDIR/$ARCHITECTURE"/

The variable $LIVECDDIR already has a slash.


Re: v1.8 make script typo's

by Michael Creel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Whoops, I forgot to put the v1.9 script on the download page. I just put it there now. It has the fixes that you emailed me about a while ago. Thanks!