This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>For Topre REALFORCE 87 Users</name> | |
| <devicevendordef> | |
| <vendorname>TopreCorporation</vendorname> | |
| <vendorid>0x0853</vendorid> | |
| </devicevendordef> | |
| <item> |
| /* Deuteranopia/Protanopia */ | |
| :root { | |
| --diff-add: 33, 150, 243; | |
| --diff-remove: 255, 235, 59; | |
| } | |
| /* no waves */ | |
| .review-page .file.root .file .wavy.edge { | |
| background-image: none; | |
| } |
| #EXTM3U | |
| #EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV | |
| https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8 | |
| #EXTINF:0 tvg-id="Sky-News" tvg-name="Sky News" tvg-logo="https://upload.wikimedia.org/wikipedia/en/9/91/SKY_TG24.png" group-title="News",Sky News (UK) | |
| http://d59pscns5ugc8.cloudfront.net/cdhls/skynewsamericas/1013/live/06.m3u8 | |
| #EXTINF:0 tvg-name="London Live" tvg-language="English" tvg-country="GB" tvg-id="London Live" tvg-logo="https://i.imgur.com/lDm5tkK.png" group-title="News",London Live | |
| https://bcoveliveios-i.akamaihd.net/hls/live/217434/3083279840001/master_900.m3u8 | |
| #EXTINF:-1 tvg-name="Ei" tvg-language="English" tvg-country="US" tvg-id="Ei" tvg-logo="https://i.imgur.com/2krIVOg.jpg" group-title="Family",E-I |
| $ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo | |
| $ yum install devtoolset-2-gcc devtoolset-2-binutils | |
| $ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran | |
| #!/bin/bash | |
| # List the gems in the current bundle and their sizes | |
| bundle list --paths | xargs du -s | sort -n | awk '{ print $2 $4 }' | xargs du -sh |
| #!/bin/bash | |
| # Add vagrant-hostupdater, vagrant-nfs and /sbin/pfctl -ef commands to sudoers, for `vagrant up` without a password | |
| # force sudo on self. | |
| if [ $( id -u ) -ne 0 ]; then | |
| exec sudo -p "Login password for %p: " "$0" "$@" | |
| exit $? | |
| fi | |
| # Stage updated sudoers in a temporary file for syntax checking |
| --- ext/openssl/ossl_pkey_ec.c | |
| +++ ext/openssl/ossl_pkey_ec.c | |
| @@ -757,8 +757,10 @@ static VALUE ossl_ec_group_initialize(int argc, VALUE *argv, VALUE self) | |
| method = EC_GFp_mont_method(); | |
| } else if (id == s_GFp_nist) { | |
| method = EC_GFp_nist_method(); | |
| +#if !defined(OPENSSl_NO_EC2M) | |
| } else if (id == s_GF2m_simple) { | |
| method = EC_GF2m_simple_method(); | |
| +#endif |