OpenStack单节点安装配置文件范例:nova.conf && interface

/etc/network/interface:

 

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

auto eth0

iface eth0 inet static

address 172.7.10.220

netmask 255.255.255.0

broadcast 172.7.10.255 

gateway 172.7.10.1

auto br100

iface br100 inet static

bridge_ports eth1

bridge_stp off

bridge_maxwait 0

bridge_fd 0

address 10.200.200.2

netmask 255.255.255.0

 
nova.conf:
 

--dhcpbridge_flagfile=/etc/nova/nova.conf

--dhcpbridge=/usr/bin/nova-dhcpbridge

--logdir=/var/log/nova

--state_path=/var/lib/nova

--lock_path=/var/lock/nova

--force_dhcp_release=True

--use_deprecated_auth=1

--iscsi_helper=tgtadm

--verbose=1

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

--network_manager=nova.network.manager.FlatDHCPManager

--my_ip=10.200.200.2

--public_interface=eth0

--sql_connect=mysql://nova:notnova@localhost/nova

--libvirt_type=kvm

--api_paste_config=/etc/nova/api-paste.ini

--image_service=nova.image.glance.GlanceImageService

--ec2_dmz_host=172.7.10.220

--ec2_url=http://172.7.10.220:8773/services/Cloud

--rabbit_host=localhost

--glance_api_servers=10.200.200.2:9292

--flat_network_bridge=br100

--flat_interface=eth1

--flat_network_dhcp_start=10.200.200.51

--fixed_range=10.200.200.0/24

--flat_injected=False

--multi_host=1

--libvirt_use_virtio_for_bridges

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值