From fc3228bd6c2163081143e2231e0574faa9bcaad1 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Tue, 3 May 2016 09:22:42 +0800 Subject: Create fuel kvm plugin Upstream status: NA In Brahmaputra release, KVM plugin functionality was bundled inside the fuel-plugin-qemu. In order for easy maintenance, the KVM plugin functionality would be separated from fuel-plugin-qemu and moved into an independent fuel-plugin-kvm and keep the source code here starting from Colorado release. Change-Id: Id89069234a4529cca40f1887e2d947378f928dd2 Signed-off-by: davidjchou Signed-off-by: Guo Ruijing --- fuel-plugin/Dockerfile | 10 + fuel-plugin/LICENSE | 202 +++++ fuel-plugin/README.md | 135 ++++ fuel-plugin/build_kvm.sh | 837 +++++++++++++++++++++ .../puppet/manifests/kvm-install.pp | 17 + fuel-plugin/deployment_tasks.yaml | 1 + fuel-plugin/environment_config.yaml | 6 + fuel-plugin/metadata.yaml | 30 + fuel-plugin/pre_build_hook | 23 + fuel-plugin/repositories/ubuntu/README | 1 + fuel-plugin/tasks.yaml | 8 + fuel-plugin/vagrant/Vagrantfile | 21 + fuel-plugin/vagrant/build_fuel_plugin.sh | 12 + 13 files changed, 1303 insertions(+) create mode 100644 fuel-plugin/Dockerfile create mode 100644 fuel-plugin/LICENSE create mode 100644 fuel-plugin/README.md create mode 100644 fuel-plugin/build_kvm.sh create mode 100644 fuel-plugin/deployment_scripts/puppet/manifests/kvm-install.pp create mode 100644 fuel-plugin/deployment_tasks.yaml create mode 100644 fuel-plugin/environment_config.yaml create mode 100644 fuel-plugin/metadata.yaml create mode 100644 fuel-plugin/pre_build_hook create mode 100644 fuel-plugin/repositories/ubuntu/README create mode 100644 fuel-plugin/tasks.yaml create mode 100644 fuel-plugin/vagrant/Vagrantfile create mode 100644 fuel-plugin/vagrant/build_fuel_plugin.sh diff --git a/fuel-plugin/Dockerfile b/fuel-plugin/Dockerfile new file mode 100644 index 000000000..9b3fd5cea --- /dev/null +++ b/fuel-plugin/Dockerfile @@ -0,0 +1,10 @@ +#!/bin/bash + +FROM ubuntu:14.04.3 +RUN apt-get update +RUN apt-get install -y git fakeroot build-essential ncurses-dev xz-utils kernel-package bc autoconf +RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo +RUN chmod 0440 /etc/sudoers.d/open-sudo +ADD ./build_kvm.sh /root/build_kvm.sh +RUN chmod +x /root/build_kvm.sh +RUN /root/build_kvm.sh -c 00bbfcd8 -o 2f8932e8 diff --git a/fuel-plugin/LICENSE b/fuel-plugin/LICENSE new file mode 100644 index 000000000..e06d20818 --- /dev/null +++ b/fuel-plugin/LICENSE @@ -0,0 +1,202 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/fuel-plugin/README.md b/fuel-plugin/README.md new file mode 100644 index 000000000..810d8a021 --- /dev/null +++ b/fuel-plugin/README.md @@ -0,0 +1,135 @@ +KVM Plugin for Fuel +================================ + +KVM plugin +----------------------- + +Overview +-------- + +New fuel plugin fuel-plugin-kvm is to deploy KVM enhancements for NFV + +Requirements +------------ + +| Requirement | Version/Comment | +|----------------------------------|-----------------| +| Mirantis OpenStack compatibility | 8.0 | + +Recommendations +--------------- + +None. + +Limitations +----------- + +None. + +Installation Guide +================== + +KVM plugin installation +---------------------------------------- + +1. Clone the fuel-plugin repo from https://gerrit.opnfv.org/gerrit/kvmfornfv/fuel-plugin: + + git clone https://gerrit.opnfv.org/gerrit/kvmfornfv/fuel-plugin + +2. Install the Fuel Plugin Builder: + + pip install fuel-plugin-builder + +3. Build KVM Fuel plugin: + + fpb --build fuel-plugin-kvm/ + +4. The *fuel-plugin-kvm-[x.x.x].rpm* plugin package will be created in the plugin folder. + +5. Move this file to the Fuel Master node with secure copy (scp): + + scp fuel-plugin-kvm-[x.x.x].rpm root@:/tmp + +6. While logged in Fuel Master install the KVM plugin: + + fuel plugins --install fuel-plugin-kvm-[x.x.x].rpm + +7. Check if the plugin was installed successfully: + + fuel plugins + + id | name | version | package_version + ---|------------------|---------|---------------- + 1 | fuel-plugin-kvm | 0.5.2 | 3.0.0 + +8. Plugin is ready to use and can be enabled on the Settings tab of the Fuel web UI. + + +User Guide +========== + +KVM plugin configuration +--------------------------------------------- + +1. Create a new environment with the Fuel UI wizard. +2. Click on the Settings tab of the Fuel web UI. +3. Scroll down the page, select the plugin checkbox. + + +Build options +------------- + +It is possible to modify process of building plugin by setting environment variables. Look into [pre_build_hook file](pre_build_hook) for more details. + +Dependencies +------------ + +If you plan to use plugin in environment without internet access or/and CentOS environment modify build command: + + INCLUDE_DEPENDENCIES=true fpb --build fuel-plugin-kvm/ + +Pre build script will try download required dependencies so it become part of the compiled plugin. + +Note: List of packages for [ubuntu](kvm_package/ubuntu/dependencies.txt) and [centos](kvm_package/centos/dependencies.txt) may need to be modified if packages in centos or ubuntu repositories will change. + +Testing +------- + +None. + +Known issues +------------ + +None. + + + +Development +=========== + +The *OpenStack Development Mailing List* is the preferred way to communicate, +emails should be sent to `openstack-dev@lists.openstack.org` with the subject +prefixed by `[fuel][plugins][kvm]`. + +Reporting Bugs +-------------- + +Bugs should be filled on the [Launchpad fuel-plugins project]( +https://bugs.launchpad.net/fuel-plugins) (not GitHub) with the tag `kvm`. + + +Contributing +------------ + +If you would like to contribute to the development of this Fuel plugin you must +follow the [OpenStack development workflow]( +http://docs.openstack.org/infra/manual/developers.html#development-workflow). + +Patch reviews take place on the [OpenStack gerrit]( +https://review.openstack.org/#/q/status:open+project:stackforge/fuel-plugin-kvm,n,z) +system. + +Contributors +------------ + +* ling.y.yu@intel.com,ruijing.guo@intel.com diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh new file mode 100644 index 000000000..2c392922a --- /dev/null +++ b/fuel-plugin/build_kvm.sh @@ -0,0 +1,837 @@ +#!/bin/bash + +quirks() { + # Workaround build bug on Ubuntu 14.04 + cat < arch/x86/boot/install.sh +#!/bin/sh +cp -a -- "\$2" "\$4/vmlinuz-\$1" +EOF + + # Add deprecated XFS delaylog option back in + cat <m_qflags |= (XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE); + mp->m_qflags &= ~XFS_GQUOTA_ENFD; ++ } else if (!strcmp(this_char, MNTOPT_DELAYLOG)) { ++ xfs_warn(mp, ++ "delaylog is the default now, option is deprecated."); + } else if (!strcmp(this_char, MNTOPT_DISCARD)) { + mp->m_flags |= XFS_MOUNT_DISCARD; + } else if (!strcmp(this_char, MNTOPT_NODISCARD)) { +-- +1.9.1 + +EOF +} + +KVM_COMMIT="" +OVS_COMMIT="" +KEEP=no +for i +do + case $i in + + -k) KEEP=yes + shift + ;; + + -c) KVM_COMMIT=$2 + shift;shift + ;; + + -o) OVS_COMMIT=$2 + shift;shift + ;; + + esac +done + +SRC=${1:-/root} +CONFIG=${2:-arch/x86/configs/opnfv.config} +VERSION=${3:-1.0.OPNFV} + +# Check for necessary build tools +if ! type git >/dev/null 2>/dev/null +then + echo "Build tools missing, run the command + +apt-get install git fakeroot build-essential ncurses-dev xz-utils kernel-package automake + +as root and try again" + exit 1 +fi + +# Make sure the source dir exists +if [ ! -d $SRC ] +then + echo "$SRC: no such directory" + exit 1 +fi + +( + cd $SRC + + # Get the Open VSwitch sources + if [ ! -d ovs ] + then + git clone https://github.com/openvswitch/ovs.git + fi + + # Get the KVM for NFV kernel sources + if [ ! -d kvmfornfv ] + then + git clone https://gerrit.opnfv.org/gerrit/kvmfornfv + fi + cd kvmfornfv + git pull + if [ x$KVM_COMMIT != x ] + then + git checkout $KVM_COMMIT + else + git reset --hard + fi + cd kernel + + quirks + + # Configure the kernel + cp $CONFIG .config + echo "CONFIG_AUDIT=y" >>.config + echo "CONFIG_AUDITSYSCALL=y" >>.config + echo "CONFIG_AUDIT_WATCH=y" >>.config + echo "CONFIG_AUDIT_TREE=y" >>.config + echo "CONFIG_ACPI_PROCESSOR_AGGREGATOR=m" >>.config + echo "CONFIG_HOTPLUG_PCI_SHPC=m" >>.config + echo "CONFIG_NET_IPGRE_DEMUX=m" >>.config + echo "CONFIG_NET_IPGRE=m" >>.config + echo "CONFIG_NET_IPGRE_BROADCAST=y" >>.config + echo "CONFIG_NET_FOU=m" >>.config + echo "CONFIG_NET_FOU_IP_TUNNELS=y" >>.config + echo "CONFIG_NETFILTER_ADVANCED=y" >>.config + echo "CONFIG_BRIDGE_NETFILTER=y" >>.config + echo "# CONFIG_NETFILTER_NETLINK_ACCT is not set" >>.config + echo "# CONFIG_NETFILTER_NETLINK_QUEUE is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_MARK is not set" >>.config + echo "CONFIG_NF_CONNTRACK_ZONES=y" >>.config + echo "# CONFIG_NF_CONNTRACK_EVENTS is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_TIMEOUT is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_TIMESTAMP is not set" >>.config + echo "# CONFIG_NF_CT_PROTO_DCCP is not set" >>.config + echo "CONFIG_NF_CT_PROTO_GRE=m" >>.config + echo "# CONFIG_NF_CT_PROTO_SCTP is not set" >>.config + echo "# CONFIG_NF_CT_PROTO_UDPLITE is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_AMANDA is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_H323 is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_SNMP is not set" >>.config + echo "CONFIG_NF_CONNTRACK_PPTP=m" >>.config + echo "# CONFIG_NF_CONNTRACK_SANE is not set" >>.config + echo "# CONFIG_NF_CONNTRACK_TFTP is not set" >>.config + echo "# CONFIG_NF_CT_NETLINK_TIMEOUT is not set" >>.config + echo "CONFIG_NF_NAT_REDIRECT=m" >>.config + echo "CONFIG_NF_TABLES=m" >>.config + echo "CONFIG_NF_TABLES_INET=m" >>.config + echo "CONFIG_NFT_EXTHDR=m" >>.config + echo "CONFIG_NFT_META=m" >>.config + echo "CONFIG_NFT_CT=m" >>.config + echo "CONFIG_NFT_RBTREE=m" >>.config + echo "CONFIG_NFT_HASH=m" >>.config + echo "CONFIG_NFT_COUNTER=m" >>.config + echo "CONFIG_NFT_LOG=m" >>.config + echo "CONFIG_NFT_LIMIT=m" >>.config + echo "CONFIG_NFT_MASQ=m" >>.config + echo "CONFIG_NFT_REDIR=m" >>.config + echo "CONFIG_NFT_NAT=m" >>.config + echo "CONFIG_NFT_REJECT=m" >>.config + echo "CONFIG_NFT_REJECT_INET=m" >>.config + echo "CONFIG_NFT_COMPAT=m" >>.config + echo "CONFIG_NETFILTER_XTABLES=m" >>.config + echo "# CONFIG_NETFILTER_XT_CONNMARK is not set" >>.config + echo "CONFIG_NETFILTER_XT_SET=m" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_AUDIT=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_CT=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_DSCP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_HL is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_HMARK is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_LED=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_MARK is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_NETMAP=m" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_NFLOG=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_REDIRECT=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_TEE is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_TRACE is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_SECMARK=m" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_TCPMSS=m" >>.config + echo "# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_BPF is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_COMMENT=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_CPU is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_DCCP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_DSCP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_ECN is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_ESP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_HELPER is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_HL is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_IPVS is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_L2TP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_MAC=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_MARK is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_OSF is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_OWNER is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_POLICY=m" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_REALM is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_RECENT is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_SCTP is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set" >>.config + echo "CONFIG_NETFILTER_XT_MATCH_STATE=m" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_STRING is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_TIME is not set" >>.config + echo "# CONFIG_NETFILTER_XT_MATCH_U32 is not set" >>.config + echo "CONFIG_IP_SET=m" >>.config + echo "CONFIG_IP_SET_MAX=256" >>.config + echo "CONFIG_IP_SET_BITMAP_IP=m" >>.config + echo "CONFIG_IP_SET_BITMAP_IPMAC=m" >>.config + echo "CONFIG_IP_SET_BITMAP_PORT=m" >>.config + echo "CONFIG_IP_SET_HASH_IP=m" >>.config + echo "CONFIG_IP_SET_HASH_IPMARK=m" >>.config + echo "CONFIG_IP_SET_HASH_IPPORT=m" >>.config + echo "CONFIG_IP_SET_HASH_IPPORTIP=m" >>.config + echo "CONFIG_IP_SET_HASH_IPPORTNET=m" >>.config + echo "CONFIG_IP_SET_HASH_MAC=m" >>.config + echo "CONFIG_IP_SET_HASH_NETPORTNET=m" >>.config + echo "CONFIG_IP_SET_HASH_NET=m" >>.config + echo "CONFIG_IP_SET_HASH_NETNET=m" >>.config + echo "CONFIG_IP_SET_HASH_NETPORT=m" >>.config + echo "CONFIG_IP_SET_HASH_NETIFACE=m" >>.config + echo "CONFIG_IP_SET_LIST_SET=m" >>.config + echo "CONFIG_IP_VS=m" >>.config + echo "CONFIG_IP_VS_IPV6=y" >>.config + echo "# CONFIG_IP_VS_DEBUG is not set" >>.config + echo "CONFIG_IP_VS_TAB_BITS=12" >>.config + echo "CONFIG_IP_VS_PROTO_TCP=y" >>.config + echo "CONFIG_IP_VS_PROTO_UDP=y" >>.config + echo "CONFIG_IP_VS_PROTO_AH_ESP=y" >>.config + echo "CONFIG_IP_VS_PROTO_ESP=y" >>.config + echo "CONFIG_IP_VS_PROTO_AH=y" >>.config + echo "CONFIG_IP_VS_PROTO_SCTP=y" >>.config + echo "CONFIG_IP_VS_RR=m" >>.config + echo "CONFIG_IP_VS_WRR=m" >>.config + echo "CONFIG_IP_VS_LC=m" >>.config + echo "CONFIG_IP_VS_WLC=m" >>.config + echo "CONFIG_IP_VS_FO=m" >>.config + echo "CONFIG_IP_VS_LBLC=m" >>.config + echo "CONFIG_IP_VS_LBLCR=m" >>.config + echo "CONFIG_IP_VS_DH=m" >>.config + echo "CONFIG_IP_VS_SH=m" >>.config + echo "CONFIG_IP_VS_SED=m" >>.config + echo "CONFIG_IP_VS_NQ=m" >>.config + echo "CONFIG_IP_VS_SH_TAB_BITS=8" >>.config + echo "CONFIG_IP_VS_FTP=m" >>.config + echo "CONFIG_IP_VS_NFCT=y" >>.config + echo "CONFIG_IP_VS_PE_SIP=m" >>.config + echo "CONFIG_NF_DEFRAG_IPV4=m" >>.config + echo "CONFIG_NF_CONNTRACK_IPV4=m" >>.config + echo "CONFIG_NF_TABLES_IPV4=m" >>.config + echo "CONFIG_NFT_CHAIN_ROUTE_IPV4=m" >>.config + echo "CONFIG_NFT_REJECT_IPV4=m" >>.config + echo "CONFIG_NF_TABLES_ARP=m" >>.config + echo "CONFIG_NFT_CHAIN_NAT_IPV4=m" >>.config + echo "CONFIG_NFT_MASQ_IPV4=m" >>.config + echo "CONFIG_NFT_REDIR_IPV4=m" >>.config + echo "CONFIG_NF_NAT_PROTO_GRE=m" >>.config + echo "CONFIG_NF_NAT_PPTP=m" >>.config + echo "CONFIG_IP_NF_IPTABLES=m" >>.config + echo "# CONFIG_IP_NF_MATCH_AH is not set" >>.config + echo "# CONFIG_IP_NF_MATCH_ECN is not set" >>.config + echo "# CONFIG_IP_NF_MATCH_RPFILTER is not set" >>.config + echo "# CONFIG_IP_NF_MATCH_TTL is not set" >>.config + echo "CONFIG_IP_NF_FILTER=m" >>.config + echo "CONFIG_IP_NF_TARGET_REJECT=m" >>.config + echo "# CONFIG_IP_NF_TARGET_SYNPROXY is not set" >>.config + echo "# CONFIG_IP_NF_TARGET_NETMAP is not set" >>.config + echo "# CONFIG_IP_NF_TARGET_REDIRECT is not set" >>.config + echo "CONFIG_IP_NF_MANGLE=m" >>.config + echo "# CONFIG_IP_NF_TARGET_CLUSTERIP is not set" >>.config + echo "# CONFIG_IP_NF_TARGET_ECN is not set" >>.config + echo "# CONFIG_IP_NF_TARGET_TTL is not set" >>.config + echo "CONFIG_IP_NF_RAW=m" >>.config + echo "# CONFIG_IP_NF_SECURITY is not set" >>.config + echo "# CONFIG_IP_NF_ARPTABLES is not set" >>.config + echo "CONFIG_NF_TABLES_IPV6=m" >>.config + echo "CONFIG_NFT_CHAIN_ROUTE_IPV6=m" >>.config + echo "CONFIG_NFT_REJECT_IPV6=m" >>.config + echo "# CONFIG_NF_NAT_IPV6 is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_AH is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_EUI64 is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_FRAG is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_OPTS is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_HL is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_MH is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_RPFILTER is not set" >>.config + echo "# CONFIG_IP6_NF_MATCH_RT is not set" >>.config + echo "# CONFIG_IP6_NF_TARGET_HL is not set" >>.config + echo "# CONFIG_IP6_NF_TARGET_SYNPROXY is not set" >>.config + echo "CONFIG_IP6_NF_RAW=m" >>.config + echo "# CONFIG_IP6_NF_SECURITY is not set" >>.config + echo "# CONFIG_IP6_NF_NAT is not set" >>.config + echo "CONFIG_NF_TABLES_BRIDGE=m" >>.config + echo "CONFIG_NFT_BRIDGE_META=m" >>.config + echo "CONFIG_NFT_BRIDGE_REJECT=m" >>.config + echo "CONFIG_NF_LOG_BRIDGE=m" >>.config + echo "CONFIG_IP_SCTP=m" >>.config + echo "CONFIG_NET_SCTPPROBE=m" >>.config + echo "# CONFIG_SCTP_DBG_OBJCNT is not set" >>.config + echo "# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set" >>.config + echo "CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y" >>.config + echo "# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set" >>.config + echo "CONFIG_SCTP_COOKIE_HMAC_MD5=y" >>.config + echo "CONFIG_SCTP_COOKIE_HMAC_SHA1=y" >>.config + echo "CONFIG_GARP=m" >>.config + echo "CONFIG_MRP=m" >>.config + echo "CONFIG_BRIDGE_VLAN_FILTERING=y" >>.config + echo "CONFIG_VLAN_8021Q=m" >>.config + echo "CONFIG_VLAN_8021Q_GVRP=y" >>.config + echo "CONFIG_VLAN_8021Q_MVRP=y" >>.config + echo "CONFIG_NET_EMATCH_IPSET=m" >>.config + echo "CONFIG_OPENVSWITCH_GRE=m" >>.config + echo "CONFIG_MAC80211_LEDS=y" >>.config + echo "CONFIG_RFKILL_LEDS=y" >>.config + echo "CONFIG_REGMAP_I2C=m" >>.config + echo "CONFIG_BLK_DEV_DRBD=m" >>.config + echo "# CONFIG_DRBD_FAULT_INJECTION is not set" >>.config + echo "CONFIG_BLK_DEV_NBD=m" >>.config + echo "CONFIG_INTEL_MEI=m" >>.config + echo "CONFIG_INTEL_MEI_ME=m" >>.config + echo "# CONFIG_INTEL_MEI_TXE is not set" >>.config + echo "CONFIG_SCSI_DH=m" >>.config + echo "CONFIG_SCSI_DH_RDAC=m" >>.config + echo "CONFIG_SCSI_DH_HP_SW=m" >>.config + echo "CONFIG_SCSI_DH_EMC=m" >>.config + echo "CONFIG_SCSI_DH_ALUA=m" >>.config + echo "CONFIG_MD_LINEAR=m" >>.config + echo "CONFIG_MD_RAID0=m" >>.config + echo "CONFIG_MD_RAID1=m" >>.config + echo "CONFIG_MD_RAID10=m" >>.config + echo "CONFIG_MD_RAID456=m" >>.config + echo "CONFIG_MD_MULTIPATH=m" >>.config + echo "CONFIG_MD_FAULTY=m" >>.config + echo "CONFIG_MD_CLUSTER=m" >>.config + echo "CONFIG_DM_CRYPT=m" >>.config + echo "CONFIG_DM_MULTIPATH=m" >>.config + echo "CONFIG_DM_MULTIPATH_QL=m" >>.config + echo "CONFIG_DM_MULTIPATH_ST=m" >>.config + echo "CONFIG_BONDING=m" >>.config + echo "CONFIG_MACVLAN=m" >>.config + echo "CONFIG_MACVTAP=m" >>.config + echo "CONFIG_VETH=m" >>.config + echo "CONFIG_VHOST_NET=m" >>.config + echo "CONFIG_VHOST_RING=m" >>.config + echo "CONFIG_VHOST=m" >>.config + echo "CONFIG_KS8842=m" >>.config + echo "CONFIG_INPUT_SPARSEKMAP=m" >>.config + echo "CONFIG_INPUT_JOYDEV=m" >>.config + echo "CONFIG_KEYBOARD_LM8323=m" >>.config + echo "CONFIG_INPUT_APANEL=m" >>.config + echo "CONFIG_INPUT_IMS_PCU=m" >>.config + echo "CONFIG_W1=m" >>.config + echo "CONFIG_W1_CON=y" >>.config + echo "CONFIG_W1_MASTER_MATROX=m" >>.config + echo "CONFIG_W1_MASTER_DS2490=m" >>.config + echo "CONFIG_W1_MASTER_DS2482=m" >>.config + echo "CONFIG_W1_MASTER_DS1WM=m" >>.config + echo "CONFIG_W1_SLAVE_THERM=m" >>.config + echo "CONFIG_W1_SLAVE_SMEM=m" >>.config + echo "CONFIG_W1_SLAVE_DS2408=m" >>.config + echo "CONFIG_W1_SLAVE_DS2408_READBACK=y" >>.config + echo "# CONFIG_W1_SLAVE_DS2413 is not set" >>.config + echo "CONFIG_W1_SLAVE_DS2406=m" >>.config + echo "CONFIG_W1_SLAVE_DS2423=m" >>.config + echo "CONFIG_W1_SLAVE_DS2431=m" >>.config + echo "CONFIG_W1_SLAVE_DS2433=m" >>.config + echo "# CONFIG_W1_SLAVE_DS2433_CRC is not set" >>.config + echo "CONFIG_W1_SLAVE_DS2760=m" >>.config + echo "CONFIG_W1_SLAVE_DS2780=m" >>.config + echo "CONFIG_W1_SLAVE_DS2781=m" >>.config + echo "CONFIG_W1_SLAVE_DS28E04=m" >>.config + echo "CONFIG_W1_SLAVE_BQ27000=m" >>.config + echo "CONFIG_POWER_SUPPLY=y" >>.config + echo "# CONFIG_POWER_SUPPLY_DEBUG is not set" >>.config + echo "CONFIG_PDA_POWER=m" >>.config + echo "# CONFIG_TEST_POWER is not set" >>.config + echo "CONFIG_BATTERY_DS2760=m" >>.config + echo "CONFIG_BATTERY_DS2780=m" >>.config + echo "CONFIG_BATTERY_DS2781=m" >>.config + echo "CONFIG_BATTERY_DS2782=m" >>.config + echo "CONFIG_BATTERY_SBS=m" >>.config + echo "CONFIG_BATTERY_BQ27x00=m" >>.config + echo "CONFIG_BATTERY_BQ27X00_I2C=y" >>.config + echo "CONFIG_BATTERY_BQ27X00_PLATFORM=y" >>.config + echo "CONFIG_BATTERY_MAX17040=m" >>.config + echo "CONFIG_BATTERY_MAX17042=m" >>.config + echo "CONFIG_CHARGER_MAX8903=m" >>.config + echo "CONFIG_CHARGER_LP8727=m" >>.config + echo "CONFIG_CHARGER_BQ2415X=m" >>.config + echo "CONFIG_CHARGER_SMB347=m" >>.config + echo "CONFIG_BATTERY_GAUGE_LTC2941=m" >>.config + echo "CONFIG_POWER_RESET=y" >>.config + echo "CONFIG_POWER_RESET_RESTART=y" >>.config + echo "CONFIG_SENSORS_CORETEMP=m" >>.config + echo "CONFIG_SENSORS_ACPI_POWER=m" >>.config + echo "CONFIG_INTEL_POWERCLAMP=m" >>.config + echo "CONFIG_WATCHDOG_CORE=y" >>.config + echo "CONFIG_MFD_CORE=m" >>.config + echo "CONFIG_LPC_ICH=m" >>.config + echo "CONFIG_HID_GT683R=m" >>.config + echo "CONFIG_HID_SONY=m" >>.config + echo "CONFIG_SONY_FF=y" >>.config + echo "CONFIG_HID_THINGM=m" >>.config + echo "CONFIG_HID_WIIMOTE=m" >>.config + echo "CONFIG_USB_LED_TRIG=y" >>.config + echo "CONFIG_NEW_LEDS=y" >>.config + echo "CONFIG_LEDS_CLASS=m" >>.config + echo "CONFIG_LEDS_CLASS_FLASH=m" >>.config + echo "CONFIG_LEDS_LM3530=m" >>.config + echo "CONFIG_LEDS_LM3642=m" >>.config + echo "CONFIG_LEDS_PCA9532=m" >>.config + echo "CONFIG_LEDS_LP3944=m" >>.config + echo "CONFIG_LEDS_LP55XX_COMMON=m" >>.config + echo "CONFIG_LEDS_LP5521=m" >>.config + echo "CONFIG_LEDS_LP5523=m" >>.config + echo "CONFIG_LEDS_LP5562=m" >>.config + echo "CONFIG_LEDS_LP8501=m" >>.config + echo "CONFIG_LEDS_LP8860=m" >>.config + echo "CONFIG_LEDS_CLEVO_MAIL=m" >>.config + echo "CONFIG_LEDS_PCA955X=m" >>.config + echo "CONFIG_LEDS_PCA963X=m" >>.config + echo "CONFIG_LEDS_BD2802=m" >>.config + echo "CONFIG_LEDS_INTEL_SS4200=m" >>.config + echo "CONFIG_LEDS_DELL_NETBOOKS=m" >>.config + echo "CONFIG_LEDS_TCA6507=m" >>.config + echo "CONFIG_LEDS_LM355x=m" >>.config + echo "CONFIG_LEDS_BLINKM=m" >>.config + echo "CONFIG_LEDS_PM8941_WLED=m" >>.config + echo "CONFIG_LEDS_TRIGGERS=y" >>.config + echo "CONFIG_LEDS_TRIGGER_TIMER=m" >>.config + echo "CONFIG_LEDS_TRIGGER_ONESHOT=m" >>.config + echo "CONFIG_LEDS_TRIGGER_HEARTBEAT=m" >>.config + echo "CONFIG_LEDS_TRIGGER_BACKLIGHT=m" >>.config + echo "CONFIG_LEDS_TRIGGER_DEFAULT_ON=m" >>.config + echo "CONFIG_LEDS_TRIGGER_TRANSIENT=m" >>.config + echo "CONFIG_LEDS_TRIGGER_CAMERA=m" >>.config + echo "CONFIG_INTEL_IOATDMA=m" >>.config + echo "CONFIG_DMA_ENGINE=y" >>.config + echo "# CONFIG_ASYNC_TX_DMA is not set" >>.config + echo "CONFIG_DMATEST=m" >>.config + echo "CONFIG_DMA_ENGINE_RAID=y" >>.config + echo "CONFIG_DCA=m" >>.config + echo "CONFIG_ACER_WMI=m" >>.config + echo "CONFIG_ALIENWARE_WMI=m" >>.config + echo "CONFIG_DELL_WMI=m" >>.config + echo "CONFIG_DELL_WMI_AIO=m" >>.config + echo "CONFIG_HP_WMI=m" >>.config + echo "CONFIG_COMPAL_LAPTOP=m" >>.config + echo "CONFIG_ASUS_WMI=m" >>.config + echo "CONFIG_ASUS_NB_WMI=m" >>.config + echo "CONFIG_EEEPC_WMI=m" >>.config + echo "CONFIG_ACPI_WMI=m" >>.config + echo "CONFIG_MSI_WMI=m" >>.config + echo "CONFIG_ACPI_TOSHIBA=m" >>.config + echo "CONFIG_MXM_WMI=m" >>.config + echo "CONFIG_OCFS2_FS=m" >>.config + echo "CONFIG_OCFS2_FS_O2CB=m" >>.config + echo "CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m" >>.config + echo "CONFIG_OCFS2_FS_STATS=y" >>.config + echo "CONFIG_OCFS2_DEBUG_MASKLOG=y" >>.config + echo "# CONFIG_OCFS2_DEBUG_FS is not set" >>.config + echo "CONFIG_CONFIGFS_FS=m" >>.config + echo "CONFIG_DLM=m" >>.config + echo "# CONFIG_DLM_DEBUG is not set" >>.config + echo "CONFIG_ASYNC_RAID6_TEST=m" >>.config + echo "CONFIG_SECURITYFS=y" >>.config + echo "CONFIG_SECURITY_PATH=y" >>.config + echo "CONFIG_LSM_MMAP_MIN_ADDR=0" >>.config + echo "CONFIG_SECURITY_SELINUX=y" >>.config + echo "CONFIG_SECURITY_SELINUX_BOOTPARAM=y" >>.config + echo "CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0" >>.config + echo "CONFIG_SECURITY_SELINUX_DISABLE=y" >>.config + echo "CONFIG_SECURITY_SELINUX_DEVELOP=y" >>.config + echo "CONFIG_SECURITY_SELINUX_AVC_STATS=y" >>.config + echo "CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1" >>.config + echo "# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set" >>.config + echo "CONFIG_SECURITY_APPARMOR=y" >>.config + echo "CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1" >>.config + echo "CONFIG_SECURITY_APPARMOR_HASH=y" >>.config + echo "CONFIG_INTEGRITY_AUDIT=y" >>.config + echo "# CONFIG_DEFAULT_SECURITY_SELINUX is not set" >>.config + echo "CONFIG_DEFAULT_SECURITY_APPARMOR=y" >>.config + echo "# CONFIG_DEFAULT_SECURITY_DAC is not set" >>.config + echo "CONFIG_DEFAULT_SECURITY=\"apparmor\"" >>.config + echo "CONFIG_XOR_BLOCKS=m" >>.config + echo "CONFIG_ASYNC_CORE=m" >>.config + echo "CONFIG_ASYNC_MEMCPY=m" >>.config + echo "CONFIG_ASYNC_XOR=m" >>.config + echo "CONFIG_ASYNC_PQ=m" >>.config + echo "CONFIG_ASYNC_RAID6_RECOV=m" >>.config + echo "CONFIG_CRYPTO_CRYPTD=m" >>.config + echo "CONFIG_CRYPTO_ABLK_HELPER=m" >>.config + echo "CONFIG_CRYPTO_GLUE_HELPER_X86=m" >>.config + echo "CONFIG_CRYPTO_LRW=m" >>.config + echo "CONFIG_CRYPTO_XTS=m" >>.config + echo "CONFIG_CRYPTO_CRC32C_INTEL=m" >>.config + echo "CONFIG_CRYPTO_CRC32=m" >>.config + echo "CONFIG_CRYPTO_CRC32_PCLMUL=m" >>.config + echo "CONFIG_CRYPTO_CRCT10DIF=m" >>.config + echo "CONFIG_CRYPTO_CRCT10DIF_PCLMUL=m" >>.config + echo "CONFIG_CRYPTO_AES_X86_64=m" >>.config + echo "CONFIG_CRYPTO_AES_NI_INTEL=m" >>.config + echo "CONFIG_KVM_AMD=y" >>.config + echo "CONFIG_RAID6_PQ=m" >>.config + echo "CONFIG_CRC_T10DIF=m" >>.config + echo "CONFIG_LRU_CACHE=m" >>.config + echo "CONFIG_BLK_DEV_BSGLIB=y" >>.config + echo "CONFIG_BRIDGE_NF_EBTABLES=m" >>.config + echo "CONFIG_BRIDGE_EBT_BROUTE=m" >>.config + echo "CONFIG_BRIDGE_EBT_T_FILTER=m" >>.config + echo "CONFIG_BRIDGE_EBT_T_NAT=m" >>.config + echo "CONFIG_BRIDGE_EBT_802_3=m" >>.config + echo "CONFIG_BRIDGE_EBT_AMONG=m" >>.config + echo "CONFIG_BRIDGE_EBT_ARP=m" >>.config + echo "CONFIG_BRIDGE_EBT_IP=m" >>.config + echo "CONFIG_BRIDGE_EBT_IP6=m" >>.config + echo "CONFIG_BRIDGE_EBT_LIMIT=m" >>.config + echo "CONFIG_BRIDGE_EBT_MARK=m" >>.config + echo "CONFIG_BRIDGE_EBT_PKTTYPE=m" >>.config + echo "CONFIG_BRIDGE_EBT_STP=m" >>.config + echo "CONFIG_BRIDGE_EBT_VLAN=m" >>.config + echo "CONFIG_BRIDGE_EBT_ARPREPLY=m" >>.config + echo "CONFIG_BRIDGE_EBT_DNAT=m" >>.config + echo "CONFIG_BRIDGE_EBT_MARK_T=m" >>.config + echo "CONFIG_BRIDGE_EBT_REDIRECT=m" >>.config + echo "CONFIG_BRIDGE_EBT_SNAT=m" >>.config + echo "CONFIG_BRIDGE_EBT_LOG=m" >>.config + echo "CONFIG_BRIDGE_EBT_NFLOG=m" >>.config + echo "CONFIG_RDS=m" >>.config + echo "CONFIG_RDS_RDMA=m" >>.config + echo "CONFIG_RDS_TCP=m" >>.config + echo "# CONFIG_RDS_DEBUG is not set" >>.config + echo "CONFIG_SCSI_ISCSI_ATTRS=m" >>.config + echo "CONFIG_SCSI_SRP_ATTRS=m" >>.config + echo "CONFIG_ENIC=m" >>.config + echo "CONFIG_BE2NET=m" >>.config + echo "CONFIG_BE2NET_VXLAN=y" >>.config + echo "CONFIG_MLX4_CORE=m" >>.config + echo "CONFIG_MLX4_DEBUG=y" >>.config + echo "CONFIG_MLX5_CORE=m" >>.config + echo "CONFIG_SERIO_RAW=m" >>.config + echo "CONFIG_SND_HWDEP=m" >>.config + echo "CONFIG_SND_HDA=m" >>.config + echo "CONFIG_SND_HDA_INTEL=m" >>.config + echo "CONFIG_SND_HDA_CODEC_REALTEK=m" >>.config + echo "CONFIG_SND_HDA_CODEC_HDMI=m" >>.config + echo "CONFIG_SND_HDA_GENERIC=m" >>.config + echo "CONFIG_SND_HDA_CORE=m" >>.config + echo "CONFIG_INFINIBAND=m" >>.config + echo "CONFIG_INFINIBAND_USER_MAD=m" >>.config + echo "CONFIG_INFINIBAND_USER_ACCESS=m" >>.config + echo "CONFIG_INFINIBAND_USER_MEM=y" >>.config + echo "CONFIG_INFINIBAND_ON_DEMAND_PAGING=y" >>.config + echo "CONFIG_INFINIBAND_ADDR_TRANS=y" >>.config + echo "CONFIG_INFINIBAND_MTHCA=m" >>.config + echo "CONFIG_INFINIBAND_MTHCA_DEBUG=y" >>.config + echo "CONFIG_INFINIBAND_IPATH=m" >>.config + echo "CONFIG_INFINIBAND_QIB=m" >>.config + echo "CONFIG_INFINIBAND_QIB_DCA=y" >>.config + echo "CONFIG_INFINIBAND_AMSO1100=m" >>.config + echo "# CONFIG_INFINIBAND_AMSO1100_DEBUG is not set" >>.config + echo "CONFIG_MLX4_INFINIBAND=m" >>.config + echo "CONFIG_MLX5_INFINIBAND=m" >>.config + echo "CONFIG_INFINIBAND_NES=m" >>.config + echo "# CONFIG_INFINIBAND_NES_DEBUG is not set" >>.config + echo "CONFIG_INFINIBAND_OCRDMA=m" >>.config + echo "CONFIG_INFINIBAND_USNIC=m" >>.config + echo "CONFIG_INFINIBAND_IPOIB=m" >>.config + echo "CONFIG_INFINIBAND_IPOIB_CM=y" >>.config + echo "CONFIG_INFINIBAND_IPOIB_DEBUG=y" >>.config + echo "# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set" >>.config + echo "CONFIG_INFINIBAND_SRP=m" >>.config + echo "CONFIG_INFINIBAND_ISER=m" >>.config + echo "CONFIG_BTRFS_FS=m" >>.config + echo "CONFIG_BTRFS_FS_POSIX_ACL=y" >>.config + echo "# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set" >>.config + echo "# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set" >>.config + echo "# CONFIG_BTRFS_DEBUG is not set" >>.config + echo "# CONFIG_BTRFS_ASSERT is not set" >>.config + echo "CONFIG_SUNRPC_XPRT_RDMA_CLIENT=m" >>.config + echo "CONFIG_SUNRPC_XPRT_RDMA_SERVER=m" >>.config + echo "CONFIG_ZLIB_DEFLATE=m" >>.config + echo "CONFIG_PARPORT=m" >>.config + echo "# CONFIG_PARPORT_PC is not set" >>.config + echo "# CONFIG_PARPORT_GSC is not set" >>.config + echo "# CONFIG_PARPORT_AX88796 is not set" >>.config + echo "# CONFIG_PARPORT_1284 is not set" >>.config + echo "# CONFIG_ATP is not set" >>.config + echo "# CONFIG_PLIP is not set" >>.config + echo "# CONFIG_JOYSTICK_DB9 is not set" >>.config + echo "# CONFIG_JOYSTICK_GAMECON is not set" >>.config + echo "# CONFIG_JOYSTICK_TURBOGRAFX is not set" >>.config + echo "# CONFIG_JOYSTICK_WALKERA0701 is not set" >>.config + echo "# CONFIG_SERIO_PARKBD is not set" >>.config + echo "CONFIG_PRINTER=m" >>.config + echo "# CONFIG_LP_CONSOLE is not set" >>.config + echo "# CONFIG_PPDEV is not set" >>.config + echo "# CONFIG_I2C_PARPORT is not set" >>.config + echo "# CONFIG_PPS_CLIENT_PARPORT is not set" >>.config + echo "# CONFIG_SND_MTS64 is not set" >>.config + echo "# CONFIG_SND_PORTMAN2X4 is not set" >>.config + echo "# CONFIG_USB_USS720 is not set" >>.config + echo "CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m" >>.config + echo "CONFIG_BLK_DEV_INTEGRITY=y" >>.config + echo "CONFIG_BLK_DEV_OSD=m" >>.config + echo "CONFIG_EEPROM_93CX6=m" >>.config + echo "CONFIG_RAID_ATTRS=m" >>.config + echo "CONFIG_SCSI_SAS_ATTRS=m" >>.config + echo "CONFIG_SCSI_SAS_LIBSAS=m" >>.config + echo "# CONFIG_SCSI_SAS_ATA is not set" >>.config + echo "CONFIG_SCSI_SAS_HOST_SMP=y" >>.config + echo "CONFIG_SCSI_LOWLEVEL=y" >>.config + echo "CONFIG_ISCSI_TCP=m" >>.config + echo "CONFIG_ISCSI_BOOT_SYSFS=m" >>.config + echo "CONFIG_SCSI_CXGB3_ISCSI=m" >>.config + echo "CONFIG_SCSI_CXGB4_ISCSI=m" >>.config + echo "CONFIG_SCSI_BNX2_ISCSI=m" >>.config + echo "CONFIG_BE2ISCSI=m" >>.config + echo "CONFIG_BLK_DEV_3W_XXXX_RAID=m" >>.config + echo "CONFIG_SCSI_HPSA=m" >>.config + echo "CONFIG_SCSI_3W_9XXX=m" >>.config + echo "CONFIG_SCSI_3W_SAS=m" >>.config + echo "CONFIG_SCSI_ACARD=m" >>.config + echo "CONFIG_SCSI_AACRAID=m" >>.config + echo "CONFIG_SCSI_AIC7XXX=m" >>.config + echo "CONFIG_AIC7XXX_CMDS_PER_DEVICE=8" >>.config + echo "CONFIG_AIC7XXX_RESET_DELAY_MS=15000" >>.config + echo "# CONFIG_AIC7XXX_DEBUG_ENABLE is not set" >>.config + echo "CONFIG_AIC7XXX_DEBUG_MASK=0" >>.config + echo "CONFIG_AIC7XXX_REG_PRETTY_PRINT=y" >>.config + echo "CONFIG_SCSI_AIC79XX=m" >>.config + echo "CONFIG_AIC79XX_CMDS_PER_DEVICE=32" >>.config + echo "CONFIG_AIC79XX_RESET_DELAY_MS=5000" >>.config + echo "# CONFIG_AIC79XX_DEBUG_ENABLE is not set" >>.config + echo "CONFIG_AIC79XX_DEBUG_MASK=0" >>.config + echo "CONFIG_AIC79XX_REG_PRETTY_PRINT=y" >>.config + echo "CONFIG_SCSI_AIC94XX=m" >>.config + echo "# CONFIG_AIC94XX_DEBUG is not set" >>.config + echo "CONFIG_SCSI_MVSAS=m" >>.config + echo "# CONFIG_SCSI_MVSAS_DEBUG is not set" >>.config + echo "# CONFIG_SCSI_MVSAS_TASKLET is not set" >>.config + echo "CONFIG_SCSI_MVUMI=m" >>.config + echo "CONFIG_SCSI_DPT_I2O=m" >>.config + echo "CONFIG_SCSI_ADVANSYS=m" >>.config + echo "CONFIG_SCSI_ARCMSR=m" >>.config + echo "CONFIG_SCSI_ESAS2R=m" >>.config + echo "CONFIG_MEGARAID_NEWGEN=y" >>.config + echo "CONFIG_MEGARAID_MM=m" >>.config + echo "CONFIG_MEGARAID_MAILBOX=m" >>.config + echo "CONFIG_MEGARAID_LEGACY=m" >>.config + echo "CONFIG_MEGARAID_SAS=m" >>.config + echo "CONFIG_SCSI_MPT2SAS=m" >>.config + echo "CONFIG_SCSI_MPT2SAS_MAX_SGE=128" >>.config + echo "# CONFIG_SCSI_MPT2SAS_LOGGING is not set" >>.config + echo "CONFIG_SCSI_MPT3SAS=m" >>.config + echo "CONFIG_SCSI_MPT3SAS_MAX_SGE=128" >>.config + echo "# CONFIG_SCSI_MPT3SAS_LOGGING is not set" >>.config + echo "CONFIG_SCSI_UFSHCD=m" >>.config + echo "CONFIG_SCSI_UFSHCD_PCI=m" >>.config + echo "CONFIG_SCSI_UFSHCD_PLATFORM=m" >>.config + echo "CONFIG_SCSI_HPTIOP=m" >>.config + echo "CONFIG_SCSI_BUSLOGIC=m" >>.config + echo "CONFIG_SCSI_FLASHPOINT=y" >>.config + echo "CONFIG_VMWARE_PVSCSI=m" >>.config + echo "CONFIG_SCSI_DMX3191D=m" >>.config + echo "CONFIG_SCSI_EATA=m" >>.config + echo "CONFIG_SCSI_EATA_TAGGED_QUEUE=y" >>.config + echo "CONFIG_SCSI_EATA_LINKED_COMMANDS=y" >>.config + echo "CONFIG_SCSI_EATA_MAX_TAGS=16" >>.config + echo "CONFIG_SCSI_FUTURE_DOMAIN=m" >>.config + echo "CONFIG_SCSI_GDTH=m" >>.config + echo "CONFIG_SCSI_ISCI=m" >>.config + echo "CONFIG_SCSI_IPS=m" >>.config + echo "CONFIG_SCSI_INITIO=m" >>.config + echo "CONFIG_SCSI_INIA100=m" >>.config + echo "CONFIG_SCSI_STEX=m" >>.config + echo "CONFIG_SCSI_SYM53C8XX_2=m" >>.config + echo "CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1" >>.config + echo "CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16" >>.config + echo "CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64" >>.config + echo "CONFIG_SCSI_SYM53C8XX_MMIO=y" >>.config + echo "CONFIG_SCSI_IPR=m" >>.config + echo "# CONFIG_SCSI_IPR_TRACE is not set" >>.config + echo "# CONFIG_SCSI_IPR_DUMP is not set" >>.config + echo "CONFIG_SCSI_QLOGIC_1280=m" >>.config + echo "CONFIG_SCSI_QLA_ISCSI=m" >>.config + echo "CONFIG_SCSI_DC395x=m" >>.config + echo "CONFIG_SCSI_AM53C974=m" >>.config + echo "CONFIG_SCSI_WD719X=m" >>.config + echo "CONFIG_SCSI_DEBUG=m" >>.config + echo "CONFIG_SCSI_PMCRAID=m" >>.config + echo "CONFIG_SCSI_PM8001=m" >>.config + echo "CONFIG_SCSI_VIRTIO=m" >>.config + echo "CONFIG_SCSI_LOWLEVEL_PCMCIA=y" >>.config + echo "CONFIG_PCMCIA_AHA152X=m" >>.config + echo "CONFIG_PCMCIA_FDOMAIN=m" >>.config + echo "CONFIG_PCMCIA_QLOGIC=m" >>.config + echo "CONFIG_PCMCIA_SYM53C500=m" >>.config + echo "CONFIG_SCSI_OSD_INITIATOR=m" >>.config + echo "CONFIG_SCSI_OSD_ULD=m" >>.config + echo "CONFIG_SCSI_OSD_DPRINT_SENSE=1" >>.config + echo "# CONFIG_SCSI_OSD_DEBUG is not set" >>.config + echo "CONFIG_BNX2=m" >>.config + echo "CONFIG_CNIC=m" >>.config + echo "CONFIG_CHELSIO_T3=m" >>.config + echo "CONFIG_CHELSIO_T4=m" >>.config + echo "CONFIG_INFINIBAND_CXGB3=m" >>.config + echo "# CONFIG_INFINIBAND_CXGB3_DEBUG is not set" >>.config + echo "CONFIG_INFINIBAND_CXGB4=m" >>.config + echo "CONFIG_PM_DEVFREQ=y" >>.config + echo "CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m" >>.config + echo "CONFIG_DEVFREQ_GOV_PERFORMANCE=m" >>.config + echo "CONFIG_DEVFREQ_GOV_POWERSAVE=m" >>.config + echo "CONFIG_DEVFREQ_GOV_USERSPACE=m" >>.config + echo "# CONFIG_PM_DEVFREQ_EVENT is not set" >>.config + echo "CONFIG_EXOFS_FS=m" >>.config + echo "# CONFIG_EXOFS_DEBUG is not set" >>.config + echo "CONFIG_ORE=m" >>.config + echo "CONFIG_CRYPTO_CRCT10DIF=y" >>.config + echo "CONFIG_CRC_T10DIF=y" >>.config + echo "CONFIG_GENERIC_ALLOCATOR=y" >>.config + echo "CONFIG_IOSF_MBI=m" >>.config + echo "# CONFIG_IOSF_MBI_DEBUG is not set" >>.config + echo "# CONFIG_INTEL_SOC_DTS_THERMAL is not set" >>.config + echo "CONFIG_POWERCAP=y" >>.config + echo "CONFIG_INTEL_RAPL=m" >>.config + echo "CONFIG_HW_RANDOM_TPM=m" >>.config + echo "CONFIG_TCG_TPM=y" >>.config + echo "CONFIG_TCG_TIS=m" >>.config + echo "CONFIG_TCG_TIS_I2C_ATMEL=m" >>.config + echo "CONFIG_TCG_TIS_I2C_INFINEON=m" >>.config + echo "CONFIG_TCG_TIS_I2C_NUVOTON=m" >>.config + echo "CONFIG_TCG_NSC=m" >>.config + echo "CONFIG_TCG_ATMEL=m" >>.config + echo "CONFIG_TCG_INFINEON=m" >>.config + echo "CONFIG_TCG_CRB=m" >>.config + echo "CONFIG_TRUSTED_KEYS=m" >>.config + echo "CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m" >>.config + echo "CONFIG_KVM=m" >>.config + echo "CONFIG_KVM_INTEL=m" >>.config + echo "CONFIG_KVM_AMD=m" >>.config + echo "CONFIG_PATA_ACPI=m" >>.config + echo "CONFIG_CRC_ITU_T=m" >>.config + echo "CONFIG_FIREWIRE=y" >>.config + echo "CONFIG_FIREWIRE_OHCI=m" >>.config + echo "CONFIG_FIREWIRE_SBP2=m" >>.config + echo "CONFIG_FIREWIRE_NET=m" >>.config + echo "# CONFIG_SND_FIREWIRE is not set" >>.config + echo "CONFIG_EDAC_MM_EDAC=m" >>.config + echo "CONFIG_EDAC_AMD64=m" >>.config + echo "# CONFIG_EDAC_AMD64_ERROR_INJECTION is not set" >>.config + echo "CONFIG_EDAC_E752X=m" >>.config + echo "CONFIG_EDAC_I82975X=m" >>.config + echo "CONFIG_EDAC_I3000=m" >>.config + echo "CONFIG_EDAC_I3200=m" >>.config + echo "CONFIG_EDAC_IE31200=m" >>.config + echo "CONFIG_EDAC_X38=m" >>.config + echo "CONFIG_EDAC_I5400=m" >>.config + echo "CONFIG_EDAC_I7CORE=m" >>.config + echo "CONFIG_EDAC_I5000=m" >>.config + echo "CONFIG_EDAC_I5100=m" >>.config + echo "CONFIG_EDAC_I7300=m" >>.config + echo "CONFIG_PCI_MMCONFIG=y" >>.config + echo "CONFIG_EDAC_SBRIDGE=m" >>.config + echo "CONFIG_CEPH_LIB=m" >>.config + echo "# CONFIG_CEPH_LIB_PRETTYDEBUG is not set" >>.config + echo "CONFIG_CEPH_LIB_USE_DNS_RESOLVER=y" >>.config + echo "CONFIG_CEPH_FS=m" >>.config + echo "CONFIG_CEPH_FS_POSIX_ACL=y" >>.config + echo "CONFIG_XFS_RT=y" >>.config + echo "CONFIG_CRYPTO_ECB=y" >>.config + echo "CONFIG_CRYPTO_CRC32C_INTEL=y" >>.config + echo "CONFIG_CRYPTO_SHA512=y" >>.config + echo "CONFIG_CRYPTO_LZO=y" >>.config + echo "CONFIG_CRYPTO_DEV_PADLOCK=y" >>.config + echo "CONFIG_CRYPTO_DEV_PADLOCK_AES=m" >>.config + echo "CONFIG_CRYPTO_DEV_PADLOCK_SHA=m" >>.config + + make oldconfig "1.0.OPNFV", + } -> + package { 'linux-image-4.1.10-rt10nfv': + ensure => "1.0.OPNFV", + } -> + exec {'reboot': + command => "reboot", + path => "/usr/bin:/usr/sbin:/bin:/sbin", + } + } else { + } +} elsif $operatingsystem == 'CentOS' { +} diff --git a/fuel-plugin/deployment_tasks.yaml b/fuel-plugin/deployment_tasks.yaml new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/fuel-plugin/deployment_tasks.yaml @@ -0,0 +1 @@ +[] diff --git a/fuel-plugin/environment_config.yaml b/fuel-plugin/environment_config.yaml new file mode 100644 index 000000000..1c646d37a --- /dev/null +++ b/fuel-plugin/environment_config.yaml @@ -0,0 +1,6 @@ +attributes: + use_kvm: + type: "checkbox" + weight: 20 + value: false + label: "EXPERIMENTAL: KVM enhancements for NFV" diff --git a/fuel-plugin/metadata.yaml b/fuel-plugin/metadata.yaml new file mode 100644 index 000000000..4d9e492d8 --- /dev/null +++ b/fuel-plugin/metadata.yaml @@ -0,0 +1,30 @@ +# Plugin name +name: fuel-plugin-kvm +# Human-readable name for your plugin +title: fuel-plugin-kvm +# Plugin version +version: '0.5.2' +# Description +description: 'This plugin provides to deploy kvm' +# Required fuel version +fuel_version: ['8.0'] +# Specify license of your plugin +licenses: ['Apache License Version 2.0'] +# Specify author or company name +authors: ['ling.y.yu@intel.com','ruijing.guo@intel.com'] +# A link to the plugin's page +homepage: 'https://gerrit.opnfv.org/gerrit/kvmfornfv/fuel-plugin' +# Specify a group which your plugin implements, possible options: +# network, storage, storage::cinder, storage::glance, hypervisor +groups: ['hypervisor'] + +# The plugin is compatible with releases in the list +releases: + - os: ubuntu + version: liberty-8.0 + mode: ['ha'] + deployment_scripts_path: deployment_scripts/ + repository_path: repositories/ubuntu + +# Version of plugin package +package_version: '3.0.0' diff --git a/fuel-plugin/pre_build_hook b/fuel-plugin/pre_build_hook new file mode 100644 index 000000000..9b3b93116 --- /dev/null +++ b/fuel-plugin/pre_build_hook @@ -0,0 +1,23 @@ +#!/bin/bash + +set -eux + +BUILD_FOR=${BUILD_FOR:-ubuntu} +DIR="$(dirname `readlink -f $0`)" + +function build_pkg { + case $1 in + ubuntu) + sudo docker build -t kvm . + container_id=`sudo docker run -d kvm` + sudo docker cp $container_id:/linux-headers-4.1.10-rt10nfv_1.0.OPNFV_amd64.deb ${DIR}/repositories/ubuntu/ + sudo docker cp $container_id:/linux-image-4.1.10-rt10nfv_1.0.OPNFV_amd64.deb ${DIR}/repositories/ubuntu/ + ;; + *) echo "Not supported system"; exit 1;; + esac +} + +for system in $BUILD_FOR +do + build_pkg $system +done diff --git a/fuel-plugin/repositories/ubuntu/README b/fuel-plugin/repositories/ubuntu/README new file mode 100644 index 000000000..11e6dd081 --- /dev/null +++ b/fuel-plugin/repositories/ubuntu/README @@ -0,0 +1 @@ +This directory holds kvm deb packages diff --git a/fuel-plugin/tasks.yaml b/fuel-plugin/tasks.yaml new file mode 100644 index 000000000..c5f6ba067 --- /dev/null +++ b/fuel-plugin/tasks.yaml @@ -0,0 +1,8 @@ +- id: kvm_install + role: ['compute'] + stage: pre_deployment + type: puppet + parameters: + puppet_manifest: puppet/manifests/kvm-install.pp + puppet_modules: puppet/modules:/etc/puppet/modules + timeout: 720 diff --git a/fuel-plugin/vagrant/Vagrantfile b/fuel-plugin/vagrant/Vagrantfile new file mode 100644 index 000000000..0505333e0 --- /dev/null +++ b/fuel-plugin/vagrant/Vagrantfile @@ -0,0 +1,21 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.box = "trusty-server-cloudimg-amd64-vagrant-disk1.box" + config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" + + config.vm.define "fuel" do | h | + h.vm.host_name = "fuel" + h.vm.provision :shell, :inline => "/vagrant/build_fuel_plugin.sh" + h.vm.synced_folder "../..", "/kvmfornfv" + h.vm.provider :virtualbox do |v| + v.customize ["modifyvm", :id, "--memory", 4096] + v.customize ["modifyvm", :id, "--cpus", 4] + end + end +end diff --git a/fuel-plugin/vagrant/build_fuel_plugin.sh b/fuel-plugin/vagrant/build_fuel_plugin.sh new file mode 100644 index 000000000..257b3ca81 --- /dev/null +++ b/fuel-plugin/vagrant/build_fuel_plugin.sh @@ -0,0 +1,12 @@ +#!/bin/bash +sudo apt-get update -y +sudo apt-get install createrepo rpm dpkg-dev -y +sudo apt-get install python-setuptools -y +sudo apt-get install python-pip -y +sudo easy_install pip +sudo pip install fuel-plugin-builder +sudo apt-get install ruby -y +sudo gem install rubygems-update +sudo gem install fpm +sudo apt-get install docker.io -y +cd /kvmfornfv/fuel-plugin; fpb --debug --build . -- cgit 1.2.3-korg