Since as of now there is no binary release for Hashicorp Nomad in aarch64, we'll have to compile it from scratch.
sudo pkg add --update linux-headers bash binutils alpine-sdk
Follow the official docs to install pmbootstrap in the host machine.
Run pmbootstrap init
, and use the following configuration:
This is an example workaround for getting Terraform input variables when you won't have jq
available in the executing machine.
Uses sed
to parse the input JSON to extract a certain key from the input JSON.
Warning: this hasn't really been well-tested, it will pretty much work only with string values and will likely break for strings that have quotes. Might give you an idea of how to improve it for your implementation though.
# /etc/securetty: list of terminals on which root is allowed to login. | |
# See securetty(5) and login(1). | |
console | |
# Local X displays (allows empty passwords with pam_unix's nullok_secure) | |
:0 | |
:0.0 | |
:0.1 | |
:1 |
This S3 bucket policy allows CloudFormation to read your Nested Stack template without making it public for everyone.
Policy JSON:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloudformationAccessBucket",
"Effect": "Allow",
This script was adapted to allow you to play audio files through your microphone input. It does so by creating a virtual microphone and piping an audio file to it.
The work was mostly done in this StackOverflow answer, I just adapted it to use ffmpeg and add a trap to cleanup on exit.
Requirements: