Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
runtime: Switch to the new agent
Browse files Browse the repository at this point in the history
This commit modifies the systemd target to use, so that it will use
cc-agent instead of the hyperstart agent.

Fixes #348

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
  • Loading branch information
Sebastien Boeuf committed Aug 10, 2017
1 parent 2eeb4f4 commit 58fd0ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ sudo docker ps -a
# Execute the tests under `clearcontainers/tests` repository.
test_repo="github.com/clearcontainers/tests"
cd "${GOPATH}/src/${test_repo}"
sudo -E PATH=$PATH make check
sudo -E PATH=$PATH TIMEOUT=15 make check
2 changes: 1 addition & 1 deletion create.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func createPod(ociSpec oci.CompatOCISpec, runtimeConfig oci.RuntimeConfig,
},
{
Key: "systemd.unit",
Value: "cc-agent.target",
Value: "clear-containers.target",
},
{
Key: "systemd.mask",
Expand Down
1 change: 1 addition & 0 deletions versions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cc_agent_version=0fca1509afbaa18c5a0ddf213f2e377c7b87dcc7

0 comments on commit 58fd0ad

Please sign in to comment.