Needed to add the nomodeset option to grub to correctly boot
After boot edit /etc/default/grub and add the nomodeset to the line with
GRUB_CMDLINE_LINUX_DEFAULT.
Run this to make it persistent:
| require 'concurrent-ruby' | |
| $pool = Concurrent::FixedThreadPool.new(2) | |
| $pool.post do | |
| {your function or block} | |
| end | |
| PROFILES=$(awk -F"\\\]|\\\[" '/^\[/{print $2}' ~/.aws/credentials) | |
| select PROFILE in $PROFILES; do | |
| export AWS_ACCESS_KEY_ID="$(aws configure get aws_access_key_id --profile $PROFILE)" | |
| export AWS_SECRET_ACCESS_KEY="$(aws configure get aws_secret_access_key --profile $PROFILE)" | |
| export AWS_DEFAULT_REGION="$(aws configure get region --profile $PROFILE)" | |
| break | |
| done | |
| echo AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID |
| curl -v -X PUT -H "x-amz-meta-uploader:blabla" -T {file.png} -L "{pre-signed-url}" |