Skip to content

Commit

Permalink
umount ramdisk created when downloading the config space as tarball v…
Browse files Browse the repository at this point in the history
…ia http(s)
  • Loading branch information
Mrfai committed May 25, 2022
1 parent 81c7348 commit cd03024
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ umount_csspace() {
if [[ $FAI_CONFIG_SRC =~ ^nfs:// ]]; then
mountpoint -q $FAI && umount $FAI
fi
if [[ $FAI_CONFIG_SRC =~ ^https?:// ]]; then
umount /var/lib/fai
fi
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
umount_target() {
Expand Down

0 comments on commit cd03024

Please sign in to comment.