I hereby claim:
- I am mshade on github.
- I am mshade (https://keybase.io/mshade) on keybase.
- I have a public key ASB-9yiTStJDw1fv-QSy0HEWv6z8OcF9zM9k03Dw_70ZIwo
To claim this, I am signing this object:
from kubernetes import client, config | |
import datetime | |
with open('/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as ns: | |
namespace = ns.read().strip() | |
# Reads config from in-container token / cert | |
config.load_incluster_config() |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
xrandr --output eDP-1 --auto --output DP-1 --auto --panning 3840x2400+3200+0 --scale 2x2 --right-of eDP-1 |
[INFO ] Running state [/opt/solr-4.10.4.tgz] at time 23:00:37.037241 | |
[INFO ] Executing state file.managed for /opt/solr-4.10.4.tgz | |
[DEBUG ] LazyLoaded roots.envs | |
[DEBUG ] Could not LazyLoad roots.init | |
[DEBUG ] Updating roots fileserver cache | |
[DEBUG ] Requesting URL http://archive.apache.org/dist/lucene/solr/4.10.4/solr-4.10.4.tgz using GET method | |
[INFO ] File /opt/solr-4.10.4.tgz is in the correct state | |
[INFO ] Completed state [/opt/solr-4.10.4.tgz] at time 23:01:04.240587 duration_in_ms=27203.346 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
1) vagrant halt, make sure machine is stopped | |
2) open vbox UI, add hard disk to the machine with desired size. this will be added to the existing 8GB root vol. A dynamically allocated disk is preferred | |
3) vagrant up, vagrant ssh, sudo su - | |
4) fdisk -l to make sure the new disk shows up. It should be /dev/sdb | |
5) pvcreate /dev/sdb | |
6) vgextend VolGroup /dev/sdb | |
7) lvextend -r /dev/VolGroup/lv_root /dev/sdb (extends logical volume to use space on the new drive, resizes the filesystem in one go) | |
you are done! | |
df -h should now show a root partition size of 8GB plus whatever you created in step 2 |