Historic archive of defunct list bismark-devel@lists.bufferbloat.net
 help / color / mirror / Atom feed
* [Bismark-devel] bismark-mgmt and bootstrapping on firstboot
@ 2011-04-18 20:09 Srikanth Sundaresan
  2011-04-18 20:10 ` Srikanth Sundaresan
  2011-04-18 20:19 ` Nick Feamster
  0 siblings, 2 replies; 3+ messages in thread
From: Srikanth Sundaresan @ 2011-04-18 20:09 UTC (permalink / raw)
  To: bismark-devel

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

The bismark-mgmt package requires the following scripts:

/usr/bin/bismark-action
/usr/bin/bismark-bootstrap
/usr/bin/bismark-probe
/usr/bin/bismark-rshell
/usr/bin/bismark-scp

It needs the following files:
/ etc/bismark/authorized_keys
/ etc/bismark/bismark.conf
/ etc/bismark/bismark_key
/ etc/bismark/bismark_key.pub
/etc/bismark/crontab
/etc/bismark/known_hosts

The following file needs to be executed on *firstboot*.

postinstall.sh (attached)



This package will allow us to have access to the boxes so that we can later push the bismark-active (and bismark-passive) measurement suites.

- Srikanth

[-- Attachment #2: post-install.sh --]
[-- Type: application/octet-stream, Size: 359 bytes --]

#!/bin/ash
# Bismark management post-install script


mkdir -p /root/.ssh
cat /etc/bismark/authorized_keys >> /etc/dropbear/authorized_keys
cat /etc/bismark/known_hosts >> /root/.ssh/known_hosts

# Set rc.local
grep -v exit /etc/rc.local > /tmp/rc.local
echo "bismark-bootstrap" >> /tmp/rc.local
echo "exit 0" >> /tmp/rc.local
mv /tmp/rc.local /etc/rc.local


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-18 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 20:09 [Bismark-devel] bismark-mgmt and bootstrapping on firstboot Srikanth Sundaresan
2011-04-18 20:10 ` Srikanth Sundaresan
2011-04-18 20:19 ` Nick Feamster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox