There are two parts to networking within QEMU:
- The virtual network device that is provided to the guest (e.g. a PCI network card).
- The network backend that interacts with the emulated NIC (e.g. puts packets onto the host's network).
| $ genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data |
| apiVersioin: v1 | |
| kind: Pod | |
| metadata: | |
| name: qemu | |
| spec: | |
| securityContext: | |
| runAsUser: 0 | |
| volumes: | |
| - name: host-dev | |
| hostPath: |
%title: Kubeception %author: @dghubble
// Youtube: https://www.youtube.com/watch?v=tlUiQa2JYQU
-> Experiments with QEMU/KVM on Kubernetes <-
Please go to Enable Docker Remote API with TLS client verification.
| #! usr!bin | |
| from flask import Flask, jsonify, abort, make_response, url_for | |
| from flask import request | |
| from socket import * | |
| from flask_httpauth import HTTPBasicAuth | |
| sock = socket(AF_INET, SOCK_STREAM) | |
| sock.setsockopt(SOL_SOCKET, SO_REUSEADDR,1) | |
| sock.bind(('0.0.0.0',0)) |
| [zack@leto ~]$ sudo tee << EOF /etc/wpa_supplicant.conf > /dev/null | |
| ctrl_interface=/run/wpa_supplicant | |
| EOF | |
| [zack@leto ~]$ sudo wpa_supplicant -iwlp1s0 -Dnl80211 -c/etc/wpa_supplicant.conf -B | |
| Successfully initialized wpa_supplicant | |
| [zack@leto ~]$ sudo wpa_cli | |
| wpa_cli v2.0 | |
| Copyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors | |
| This software may be distributed under the terms of the BSD license. |
| sudo modprobe 8021q | |
| lsmod | grep 8021q | |
| ip link add link eth1 name eth1.10 type vlan id 10 | |
| https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/ |