Skip to content

Commit

Permalink
make nfsroot a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gratuxri authored Oct 18, 2021
1 parent 2d7e5fc commit 887e28a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
- name: step 2 - Add artifacts to publish to the temp folder
run: |
export DIR=/srv/fai/nfsroot-`date +"%Y%m%d%H%M%S"`
export DIR=/srv/fai/nfsroot
#export DIR=/srv/fai/nfsroot-`date +"%Y%m%d%H%M%S"`
sudo mkdir -p $DIR /var/www/html
echo $DIR
cd $DIR
pwd
sudo ln -snf $(basename $PWD) ../nfsroot
#sudo ln -snf $(basename $PWD) ../nfsroot
sudo mkdir -p /srv/fai/config/class/
sudo fai -Ns git+https://github.com/faiproject/fai-config-nfsroot#nfsroot -c NFSROOT,FULL,AMD64 -u nfsroot -v dirinstall $DIR
sudo mkdir -p ../nfsroot/srv/fai/config/class/
Expand Down

0 comments on commit 887e28a

Please sign in to comment.