Changes between Version 12 and Version 13 of jazz/LXC


Ignore:
Timestamp:
Jan 12, 2014, 11:00:14 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/LXC

    v12 v13  
    155155hdp15  RUNNING  10.0.3.243  -     NO       
    156156}}}
     157 * 看樣子跟 /var/lib/misc/dnsmasq.lxcbr0.leases 有關,因此清除該檔案,再重來一次
     158{{{
     159service lxc-net stop
     160rm /var/lib/misc/dnsmasq.lxcbr0.leases
     161service lxc-net start
     162}}}
     163{{{
     164root@jazzbook:~# for ((i=11;i<=15;i++)); do lxc-stop -n hdp$i; done
     165root@jazzbook:~# for ((i=11;i<=15;i++)); do lxc-destroy -n hdp$i; done
     166root@jazzbook:~# for ((i=11;i<=15;i++)); do lxc-create -t ubuntu -n hdp$i; done
     167root@jazzbook:~# for ((i=11;i<=15;i++)); do lxc-start -d -n hdp$i; done
     168root@jazzbook:~# lxc-ls --fancy
     169}}}
    157170 * 安裝 LXC Web Panel
    158171{{{