还原openstack配置文件的方法

cp -a /etc/neutron/neutron.conf /etc/neutron/neutron.conf.bak
cp -a /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugins/ml2/ml2_conf.ini.bak
mkdir t
cd t
wget http://10.0.0.10:7489/openstack-juno/epel-7/openstack-neutron-2014.2.2-1.el7.noarch.rpm
wget http://10.0.0.10:7489/openstack-juno/epel-7/openstack-neutron-ml2-2014.2.2-1.el7.noarch.rpm
rpm2cpio openstack-neutron-2014.2.2-1.el7.noarch.rpm|cpio -div
rpm2cpio openstack-neutron-ml2-2014.2.2-1.el7.noarch.rpm|cpio -div
cat etc/neutron/neutron.conf>/etc/neutron/neutron.conf
cat etc/neutron/plugins/ml2/ml2_conf.ini>/etc/neutron/plugins/ml2/ml2_conf.ini
cd ..
rm -rf t

上一篇:JQuery -> 超级简单的下拉菜单


下一篇:NSIS使用教程(安装包制作安装文件教程,如何封装打包文件) 中文版