OpenVZ Forum - RDF feed
https://new-forum.openvz.org/index.php
-
problem when run shell script by vzctl exec
https://new-forum.openvz.org/index.phpindex.php?t=rview&goto=22717&th=4426#msg_22717
server3:~# vzctl exec 180 hi.sh
/
server3:~# vzctl exec 180 echo $HOME
/root
server3:~# vzctl exec 180 cat hi.sh
#!/bin/bash
echo $HOME
server3:~# aptitude show vzctl
Package: vzctl
State: installed
Automatically installed: yes
Version: 3.0.18-1
Priority: optional
Section: admin
Maintainer: Ola Lundqvist <opal@debian.org>
Uncompressed Size: 872k
Depends: libc6 (>= 2.3.6-6), iproute, vzquota
Recommends: rsync
Suggests: kernel-patch-openvz
.....
server3:~# uname -a
Linux server3 2.6.18-028stab045 #11 Wed Oct 10 13:28:22 CST 2007 i686 GNU/Linux
server3:~#
]]>
hhding
2007-11-02T03:30:56-00:00