Changes between Version 6 and Version 7 of jazz/LXC


Ignore:
Timestamp:
Jan 12, 2014, 6:23:37 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/LXC

    v6 v7  
    9292#LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf
    9393}}}
     94{{{
     95root@jazzbook:~# echo "LXC_DHCP_CONFILE=/etc/lxc/dnsmasq.conf" >> /etc/default/lxc-net
     96root@jazzbook:~# cat > /etc/lxc/dnsmasq.conf << EOF
     97dhcp-host=hdp11,10.0.1.111
     98dhcp-host=hdp12,10.0.1.112
     99dhcp-host=hdp13,10.0.1.113
     100dhcp-host=hdp14,10.0.1.114
     101dhcp-host=hdp15,10.0.1.115
     102dhcp-host=hdp16,10.0.1.116
     103dhcp-host=hdp17,10.0.1.117
     104dhcp-host=hdp18,10.0.1.118
     105dhcp-host=hdp19,10.0.1.119
     106dhcp-host=hdp21,10.0.1.121
     107dhcp-host=hdp22,10.0.1.122
     108dhcp-host=hdp23,10.0.1.123
     109dhcp-host=hdp24,10.0.1.124
     110dhcp-host=hdp25,10.0.1.125
     111dhcp-host=hdp26,10.0.1.126
     112dhcp-host=hdp27,10.0.1.127
     113dhcp-host=hdp28,10.0.1.128
     114dhcp-host=hdp29,10.0.1.129
     115EOF
     116}}}