L2SS-225: Fix rebuild_system_from_scratch.sh to also function on CentOS7 Closes L2SS-225 See merge request !41