/
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
0-lxc.sh
This is repository of my old source code which isn't updated any more. Go to
git.rot13.org
for current projects!
Contents of /recepies/ganeti/migrate-lxc/0-lxc.sh
Parent Directory
|
Revision Log
Revision
306
- (
show annotations
)
Sun Jan 12 13:39:28 2014 UTC
(10 years, 4 months ago) by
dpavlin
File MIME type: application/x-sh
File size: 110 byte(s)
migrate lxc container to ganeti
1
export
lxc
=
prod
2
3
test
-d lxc
||
mkdir lxc
4
5
ssh_lxc
()
{
6
log
=
`
basename
$1
`
7
ssh root@
$lxc
$*
|
tee lxc/
$log
8
}
9
ViewVC Help
Powered by
ViewVC 1.1.26