设置代理和password #!/bin/bash cd /home/ubuntu wget otcloud-gateway.bj.intel.com/script.tar.gz ]; then curl -O otcloud-gateway.bj.intel.com/script.tar.gz fi tar xzvf script.tar.gz cd script# sed -i '/enable_service n-novnc/a enable_plugin cyborg git://git…
以获取PCI的信息为例. 基本代码: pci.py import base64 import guestfs from functools import partial import os import six import stat import subprocess import tempfile import time import xml.etree.ElementTree as ET from oslo_utils import encodeutils from tempest imp…