aboutsummaryrefslogtreecommitdiffstats
path: root/NOTES
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-22 18:07:42 +0200
committerficus <ficus@robocracy.org>2012-09-22 18:07:42 +0200
commite2973e8ea5c57bfa6ed41293e0250c68d29cfed9 (patch)
treec198195bfc91800d93300788c85efba3feaaa050 /NOTES
parente6d4f095e61d0c875a11cec57302db9f2fd5838f (diff)
downloadtorouter-e2973e8ea5c57bfa6ed41293e0250c68d29cfed9.tar.gz
torouter-e2973e8ea5c57bfa6ed41293e0250c68d29cfed9.zip
backup WIP
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES38
1 files changed, 38 insertions, 0 deletions
diff --git a/NOTES b/NOTES
new file mode 100644
index 0000000..19ce4b8
--- /dev/null
+++ b/NOTES
@@ -0,0 +1,38 @@
+system config files should live here in ./config
+system config scripts should live here in ./scripts
+ torouter-takeover
+ add torproject keys (prompt?)
+ setup sources.list
+ apt-get update
+ install dependancies like tor and torouterui
+ run torouter_preboot.sh
+ torouter-preboot
+ check that dependancies are installed (tor, torouterui, etc) or fail
+ copy/install all configuration files
+ install
+ create users and groups
+ remove/disable unwanted packages
+ setup firstboot
+ torouter-firstboot (just generates ssh keys; could be done elsewhere?)
+ torouter-copy2internal (TODO)
+ torouter-setupuboot (TODO)
+
+torouter-prep contains all the above files
+
+torouter_easy_setup.sh installs torouter-prep, executes torouter-takeover,
+then reboots. it should be included in torouter-prep (for signing?)
+
+install.sh script executes withing qemu:
+ configures all installed packages
+ run torouter_preboot.sh
+ install .deb src packages
+ kernel re-packing
+ (re)set root password
+ (re)set user password
+ unconfigure sshd (so it will get re-configured on 1st boot)
+
+differences between takeover and .img build process:
+- don't need new ssh keys with takeover
+- don't need kernel re-pack with takeover
+- don't need fstab re-write with takeover
+