Gao feng
c7b46b71a0
fix incorrectly writting to resolv.conf
...
Signed-off-by: Gao feng <omarapazanadi@gmail.com >
2015-08-28 20:46:33 +08:00
Lai Jiangshan
e7e6b98958
Merge pull request #2 from gao-feng/dns
...
support setting up dns for container
2015-08-28 18:04:10 +08:00
Gao feng
2f27b48f7b
setup dns for container
...
Signed-off-by: Gao feng <omarapazanadi@gmail.com >
2015-08-27 22:46:14 +08:00
Gao feng
04a501edb7
parse dns from pod file
...
Signed-off-by: Gao feng <omarapazanadi@gmail.com >
2015-08-27 22:42:57 +08:00
Gao feng
01f07fb952
remove channel in pod
...
Signed-off-by: Gao feng <omarapazanadi@gmail.com >
2015-08-27 22:42:57 +08:00
Gao feng
6680827faf
send kill signal if term is ignored by container process
...
Fix the bug that stoppod is blocked.
Signed-off-by: Gao feng <feng@hyper.sh >
2015-08-13 16:52:36 +08:00
Gao feng
aa265352ff
send Next message to hyper in vbox environment
...
Signed-off-by: Gao feng <feng@hyper.sh >
2015-08-06 10:21:05 +08:00
Gao feng
1b9789937f
Add VirtualBox support
...
Run hyperStart on VirtualBox
Signed-off-by: Gao feng <feng@hyper.sh >
2015-07-30 15:57:44 +08:00
Wang Xu
46ffda72bd
add cache parameter for 9p mount
...
Signed-off-by: Wang Xu <gnawux@gmail.com >
2015-07-06 10:41:57 +08:00
Gao feng
458795b4b2
shutdown: kill processes before unmount
...
hmm, down the possibility that process writting block after
unmount.
Signed-off-by: Gao feng <feng@hyper.sh >
2015-06-13 16:14:55 +08:00
Gao feng
2784cb7bab
util: move hyper_list_dir into util.c
...
this function is useful to debug
Signed-off-by: Gao feng <feng@hyper.sh >
2015-06-04 14:34:28 +08:00
Gao feng
ed578419da
call setns syscall directly
...
fix the problem that low version glibc doesn't have setns.
Signed-off-by: Gao feng <feng@hyper.sh >
2015-06-03 16:37:46 +08:00
Gao feng
953cc08de3
container: fix the fail to start bug if container has no tty
...
BU reported by @henrysher.
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] setup pty device /dev/null for exec
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] ioctl pty device for execcmd failed: Inappropriate ioctl for device
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] setup tty failed
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] hyper send type 10, len 0
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] wait for container started failed
[HYPER INFO 0531 20:54:^@55 26892 qemu_process.go] [:53] [console] container 2e60d916bb16655746830d89e1503c7067ef13560883a6ba62a77f11c44cadc8 init exit code -1
Signed-off-by: Gao feng <feng@hyper.sh >
2015-06-01 15:13:10 +08:00
Gao feng
1f2865618b
container: use symlink to replace link
...
/dev/pts/ptmx is on the different filesystem with /dev/ptmx,
use symbol link.
Signed-off-by: Gao feng <feng@hyper.sh >
2015-05-29 08:48:50 +08:00
Gao feng
6dc013fc59
hyperStart source code
...
The files under src directory is the codes of hyperStart,
use autogen.sh && configure && make to generate hyper-initrd.img,
this image will be used to start hyper instance.
Signed-off-by: Gao feng <feng@hyper.sh >
2015-05-28 18:59:34 +08:00