Skip to content

Commit

Permalink
Merge pull request #295 from cgwalters/pipeline-label
Browse files Browse the repository at this point in the history
cloud: Switch to use sda2 for root
  • Loading branch information
openshift-merge-robot authored Sep 17, 2018
2 parents 66e2950 + c56629e commit e10c7a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ node(NODE) {
def img_prefix, commit, version, dirpath, qcow, vmdk, ec2, vagrant_libvirt
stage("Postprocessing") {
// just introspect after the fact to avoid race conditions
// FIXME: Use labels like https://github.com/coreos/coreos-assembler/pull/95
// But probably better to ditch all of this and use the assembler
commit = utils.sh_capture("""
LIBGUESTFS_BACKEND=direct virt-cat -a ${image} -m /dev/coreos/root:/ \
LIBGUESTFS_BACKEND=direct virt-cat -a ${image} -m /dev/sda2:/ \
/ostree/repo/refs/remotes/rhcos/${ref}
""")

Expand Down

0 comments on commit e10c7a2

Please sign in to comment.