Changes between Version 18 and Version 19 of jazz/LXC


Ignore:
Timestamp:
Jan 13, 2014, 12:15:47 AM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/LXC

    v18 v19  
    189189root@jazzbook:~# for ((i=11;i<=15;i++)); do cp /root/.ssh/id_rsa.pub /var/lib/lxc/hdp$i/rootfs/root/.ssh/authorized_keys; done
    190190}}}
     191 * 安裝與設定 dsh
     192{{{
     193root@jazzbook:~# apt-get install dsh
     194root@jazzbook:~# mkdir -p .dsh
     195root@jazzbook:~# lxc-ls --fancy | grep hdp | awk '{ print $3 }' > .dsh/machines.list
     196root@jazzbook:~# dsh -a hostname
     197hdp11
     198hdp12
     199hdp13
     200hdp14
     201hdp15
     202}}}
     203
    191204=== LXC PXE Boot ? ===
    192205