sysdeploy/install.sh

20 lines
302 B
Bash
Raw Normal View History

2021-02-25 14:50:05 +01:00
#!/bin/bash
. install.inc
2021-03-02 15:47:16 +01:00
. drive.inc
drive="$1"
if [ ! -b "$drive" ]; then
echo "Usage install.sh /dev/wherever"
exit 1
fi
setup_drive "$drive"
2021-03-02 21:53:36 +01:00
install_syslinux "$drive"
get_streams
get_latest_maas_id
download_version "$release_version" "$drive"
update_syslinux_menu "$drive"
2021-03-02 20:00:26 +01:00
cleanup_temp