diff --git a/README.md b/README.md index 814bb8a..e5ac6b9 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ TinyCoreLinux system on a bootable USB stick for installing an APU from scratch -see aputools/README.md for details +see boxtools/README.md for details diff --git a/clone b/clone index 1d54849..d6e6e1c 100644 --- a/clone +++ b/clone @@ -1,7 +1,7 @@ sh tiny HOST=l_samenv@samenv -DIR=boxes/images -IMGDAT=apumaster_$(date +'%Y-%m-%d').lz4 +DIR=boxes/apuimages +IMGDAT=$(date +'%Y-%m-%d').lz4 read -p "image name to write to $HOST:$DIR [$IMGDAT]: " IMG if [ -z "$IMG" ]; then IMG=$IMGDAT diff --git a/reg b/reg index 9822423..4dac829 100644 --- a/reg +++ b/reg @@ -1,10 +1,10 @@ echo -n "new hostname: " read hostname sudo hostname $hostname -echo "address of leftmost socket eth0 (for control box):" +echo "address of leftmost socket (eth0 for control box, recommended also for newer bare apus):" ifconfig | grep eth0 echo " " -echo "address of rightmost socket (for bare apu):" +echo "address of rightmost socket (for legacy bare apu):" ifconfig | grep eth3 echo " " echo "register $hostname to packet fence and connect LAN to corresponding socket" diff --git a/tiny b/tiny index 794a12d..72748ab 100644 --- a/tiny +++ b/tiny @@ -9,4 +9,3 @@ EOF cp -r ssh ~/.ssh sudo chmod go-r ~/.ssh/id_rsa ifconfig | grep 'inet addr' - diff --git a/write_to_ssd b/write_to_ssd index 830dc5b..601e30f 100644 --- a/write_to_ssd +++ b/write_to_ssd @@ -1,9 +1,9 @@ sh tiny -BOXIMG=boxes/images +BOXIMG=boxes/apuimages echo "" echo "images from l_samenv@samenv:$BOXIMG:" echo "" -ssh l_samenv@samenv "cd $BOXIMG; ls apumaster*.lz4" +ssh l_samenv@samenv "cd $BOXIMG; ls *.lz4" echo "" read -p "which image? " IMG echo "write to ssd /dev/sda (takes 3 min)"