Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote logging based on Graylog #11

Merged
merged 58 commits into from Feb 13, 2019
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ebafae2
Remote logging for IPXE + kernel (netconsole)
frzb Jan 30, 2019
9bc2d17
Move iPXE download from Dockerfile to coinboot-download-helper
frzb Jan 30, 2019
5b8867b
iPXE files directly in '/var/lib/tftpboot'
frzb Feb 1, 2019
3e15945
Initial working draft for Graylog2
frzb Feb 11, 2019
138693d
Netconsole: switch to port 5555
frzb Feb 11, 2019
5ad4789
Use a fixed release for iPXE
frzb Feb 11, 2019
175448e
Graylog: autoload content pack for Coinboot
frzb Feb 11, 2019
7a740a1
Fix typo
frzb Feb 11, 2019
2c1376f
Use kernel 4.15.0-45-generic by default
frzb Feb 11, 2019
b07af26
Add .gitignore file
frzb Feb 11, 2019
9385765
Fix .gitignore under './boot'
frzb Feb 11, 2019
90555a0
Working docker-compose file for Graylog 3.0RC2.2
frzb Feb 11, 2019
37bdeca
Add Coinboot Graylog 3.0 content pack
frzb Feb 11, 2019
2c638ff
Helper script to activate Graylog content pack
frzb Feb 12, 2019
256ae69
Bump MongoDB to 4.0.6 and Elasticsearch to 6.6.0
frzb Feb 12, 2019
fe867b6
Update README, put images in directory
frzb Feb 12, 2019
9136883
Use $COINBOOT_SERVER_IP in Docker-Compose file
frzb Feb 12, 2019
ca25700
Section about Graylog
frzb Feb 12, 2019
7acc287
Remote logging also for the Travis CI build
frzb Feb 12, 2019
02a57b8
Adapt path for graylog content pack
frzb Feb 12, 2019
de53db6
Add helper script for Graylog content pack
frzb Feb 12, 2019
2d3fc68
Debug qemu
frzb Feb 12, 2019
16bc2c3
Show list of containers running
frzb Feb 13, 2019
fc8256e
Disable qemu debugging
frzb Feb 13, 2019
b303048
Show log of coinboot-server
frzb Feb 13, 2019
fdadc31
Comparision of set vs. linked vmlinuz, initramfs
frzb Feb 13, 2019
c36d042
Get rid of basename - cause we just have Busybox
frzb Feb 13, 2019
38c8499
Handle if symlink are missing initialy
frzb Feb 13, 2019
07bb388
Just pull up Coinboot for now
frzb Feb 13, 2019
a6969a2
Just pull up Coinboot for now
frzb Feb 13, 2019
f67ef07
Fix order of parameters
frzb Feb 13, 2019
fba5b1d
Merge branch 'remote_logging' of github.com:frzb/coinboot into remote…
frzb Feb 13, 2019
cc9040e
Debug qemu again
frzb Feb 13, 2019
c310636
Bring back console=, debug Qemu over serial
frzb Feb 13, 2019
5c76768
Disable debugging Qemu
frzb Feb 13, 2019
9689692
Ping before trying SSH
frzb Feb 13, 2019
fee8390
Show ping probe before proceeding
frzb Feb 13, 2019
bc6cd40
See if the binary of ping is present
frzb Feb 13, 2019
0c5a17a
Add iputils-ping
frzb Feb 13, 2019
0e492c1
Change order, look at response from webserver
frzb Feb 13, 2019
6315dfc
Bring back in Graylog
frzb Feb 13, 2019
365a1aa
Switch index to JSON to make parsing easier
frzb Feb 13, 2019
4b1cc13
Look at content of the webserver until complete
frzb Feb 13, 2019
932409c
Make downloads more robust
frzb Feb 13, 2019
962ba39
Update JQ query
frzb Feb 13, 2019
e3a8c93
Debug the download helpers once more
frzb Feb 13, 2019
76147f3
Add wget - the one form Busybox is lacking features
frzb Feb 13, 2019
82920d2
Make curl more robust
frzb Feb 13, 2019
1fc51d3
Make parsing the API response more robust
frzb Feb 13, 2019
c9aacfc
Fix logic
frzb Feb 13, 2019
7c45f87
Tidy up naming
frzb Feb 13, 2019
d45edc1
Check if non-zero
frzb Feb 13, 2019
8b8d756
Rework control flow
frzb Feb 13, 2019
01c6d1b
Rework retry against Github API
frzb Feb 13, 2019
12e45f8
Disable debugging of the download helper
frzb Feb 13, 2019
74f89dc
Debug RELEASE in motd
frzb Feb 13, 2019
5a89729
Bring back looking for RELEASE in the MOTD
frzb Feb 13, 2019
7e28844
Calling Github API in a more robust way
frzb Feb 13, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings

Always

Just for now

Tidy up naming

  • Loading branch information...
frzb committed Feb 13, 2019
commit 7c45f874f82673ca9c2014ce096d60a4dd859615
@@ -35,10 +35,10 @@ if [ $RELEASE = latest ]; then
echo "Github API is not returing an response, repeat ..."
sleep 5
done
echo $RESPONSE| jq -r '.[0].name'
echo "Using latest coinboot-debirf release: $RELEASE"
TAG=$RESPONSE| jq -r '.[0].name'
echo "Using latest coinboot-debirf release: $TAG"
fi
URL=https://github.com/frzb/coinboot-debirf/releases/download/${RELEASE}
URL=https://github.com/frzb/coinboot-debirf/releases/download/${TAG}
if [ -z $KERNEL ]; then
KERNEL=4.15.0-45-generic
fi
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.