mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-07 06:01:33 +00:00
test hyperstart from hypercontainer
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
###########################
|
||||
# test hyperstart from hyper
|
||||
|
||||
export HYPER_RUNTIME=/var/lib/hyper
|
||||
sudo mkdir -p ${HYPER_RUNTIME}
|
||||
sudo cp build/kernel ${HYPER_RUNTIME}/kernel
|
||||
sudo cp build/hyper-initrd.img ${HYPER_RUNTIME}/hyper-initrd.img
|
||||
|
||||
mkdir -p ${GOPATH}/src/github.com/hyperhq
|
||||
git clone https://github.com/hyperhq/hyperd.git ${GOPATH}/src/github.com/hyperhq/hyperd
|
||||
cd ${GOPATH}/src/github.com/hyperhq/hyperd
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
hack/test-cmd.sh
|
||||
|
||||
Reference in New Issue
Block a user