Changeset - 552b578ca38d
[Not reviewed]
0 1 0
x - 23 months ago 2022-06-15 18:03:56
xbr@c3l.lu
Add links to README
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
# Command and Control
 
These scripts automate the Command and Control SBC installation as much as possible.
 
These scripts automate the [Command and Control](https://wiki.c3l.lu/doku.php?id=projects:hardware:command_and_control) SBC installation as much as possible.
 

	
 
Note that git submodules **must** be initalized, they contain crucial information such as
 
the SSH host keys and the public key of autom8. Special access is needed.
 
the [SSH host keys and the public key of autom8](https://projects.c3l.lu/ChaosStuff/cnc-host-keys). Special access is needed.
 

	
 
## How to use
 
Flash the image on the eMMC using the flashEMMC.sh script (see section).
 
Then use ansible.sh to install and configure the installation.
 

	
 
### Structure of submodule
 
@@ -35,11 +35,12 @@ There are various scripts, some of which are supposed to be used directly, while
 
Usage: 
 
`sudo ./flashEMMC.sh [block device name, e.g. sdb]`
 

	
 
This script automates the installation of the ArchLinuxARM ODROID C2 image. (as shown on the [ALARM installation page](https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2#installation))
 

	
 
It shows the user information about the block device they indicated, asking if it is the right device. If it is, all mounts related to this block device are unmounted, a couple of blocks at the start are zero-ed out, the partition table is created, the single partition's FS is created, the ALARM image downloaded, hash verified, the parition is mounted, the tarball extracted, then the bootloader is installed. Finally, everything is `sync`-ed, and the directory unmounted.
 

	
 
### ansible.sh
 
Usage: 
 
`sudo ./ansible.sh [playbook file, if none, site.yml]`
 

	
 
It simply verifies that the ansible requirements.txt are met and runs through the specific playbook.
0 comments (0 inline, 0 general)