Verified Commit 4f488517 authored by Alex Thomae's avatar Alex Thomae 👓
Browse files

Fix the labels in the Dockerfile. Add handling of `QEMU_NO_QMP`

parent 60c7d347
Pipeline #194787999 passed with stage
in 6 minutes and 13 seconds
......@@ -2,8 +2,8 @@ ARG QEMU_VERSION="5.1.0"
FROM registry.gitlab.com/ix.ai/docker-qemu:${QEMU_VERSION}
LABEL maintainer="git@alex.thom.ae" \
ai.ix.repository="gitlab.com/tlex/docker-qemu-ceph/"
LABEL maintainer="docker@ix.ai" \
ai.ix.repository="ix.ai/docker-qemu-ceph/"
ARG CEPH_VERSION="octopus"
......
......@@ -7,7 +7,7 @@
# docker-qemu-ceph
A docker image, based on [ix.ai/docker-qemu](https://gitlab.com/ix.ai/docker-qemu), with added CEPH tools
A docker image, based on [ix.ai/docker-qemu](https://gitlab.com/ix.ai/docker-qemu), with added CEPH common tools
## Usage
......@@ -24,6 +24,8 @@ The following additional environment variables are implemented:
* `CEPH_CLONE` - the name of the new clone (example: `rbd/alpine-test`)
* `CEPH_TRASH_CLONE` - set to `0` it will skip the trash command on exit (default: `1`)
**Note**: With [ixdotai/qemu:v0.2.0](https://gitlab.com/ix.ai/docker-qemu/-/releases/v0.2.0) a new variable called `QEMU_NO_QMP` was introduced. This variable is ignored by this image.
## Example
**Warning**: Modify the command below to suit your needs!
......
......@@ -79,6 +79,9 @@ trash_clone(){
sanity_check
create_clone
# Introduced by https://gitlab.com/ix.ai/docker-qemu/-/releases/v0.2.0
export QEMU_NO_QMP=""
trap graceful_shutdown SIGINT SIGTERM SIGHUP
set -x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment