doc: Fix example for image_build
The example configuration can now be copy-pasted into real configuration file and will parse without any issues. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7fd5403495
commit
d90dba9312
@ -971,7 +971,7 @@ Example
|
|||||||
# correct SHA1 hash will be put into the URL below automatically
|
# correct SHA1 hash will be put into the URL below automatically
|
||||||
'ksurl': 'https://git.fedorahosted.org/git/spin-kickstarts.git?somedirectoryifany#HEAD',
|
'ksurl': 'https://git.fedorahosted.org/git/spin-kickstarts.git?somedirectoryifany#HEAD',
|
||||||
'kickstart': "fedora-docker-base.ks",
|
'kickstart': "fedora-docker-base.ks",
|
||||||
'repo': ["http://someextrarepos.org/repo", "ftp://rekcod.oi/repo].
|
'repo': ["http://someextrarepos.org/repo", "ftp://rekcod.oi/repo"],
|
||||||
'distro': 'Fedora-20',
|
'distro': 'Fedora-20',
|
||||||
'disk_size': 3,
|
'disk_size': 3,
|
||||||
|
|
||||||
@ -981,14 +981,7 @@ Example
|
|||||||
'factory-parameters': {
|
'factory-parameters': {
|
||||||
'docker_cmd': "[ '/bin/bash' ]",
|
'docker_cmd': "[ '/bin/bash' ]",
|
||||||
'docker_env': "[ 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' ]",
|
'docker_env': "[ 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' ]",
|
||||||
'docker_labels': "{
|
'docker_labels': "{'Name': 'fedora-docker-base', 'License': u'GPLv2', 'RUN': 'docker run -it --rm ${OPT1} --privileged -v \`pwd\`:/atomicapp -v /run:/run -v /:/host --net=host --name ${NAME} -e NAME=${NAME} -e IMAGE=${IMAGE} ${IMAGE} -v ${OPT2} run ${OPT3} /atomicapp', 'Vendor': 'Fedora Project', 'Version': '23', 'Architecture': 'x86_64' }",
|
||||||
'Name': 'fedora-docker-base',
|
|
||||||
'License': u'GPLv2',
|
|
||||||
'RUN': 'docker run -it --rm ${OPT1} --privileged -v \`pwd\`:/atomicapp -v /run:/run -v /:/host --net=host --name ${NAME} -e NAME=${NAME} -e IMAGE=${IMAGE} ${IMAGE} -v ${OPT2} run ${OPT3} /atomicapp',
|
|
||||||
'Vendor': 'Fedora Project',
|
|
||||||
'Version': '23',
|
|
||||||
'Architecture': 'x86_64'
|
|
||||||
}",
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1001,7 +994,7 @@ Example
|
|||||||
# correct SHA1 hash will be put into the URL below automatically
|
# correct SHA1 hash will be put into the URL below automatically
|
||||||
'ksurl': 'https://git.fedorahosted.org/git/spin-kickstarts.git?somedirectoryifany#HEAD',
|
'ksurl': 'https://git.fedorahosted.org/git/spin-kickstarts.git?somedirectoryifany#HEAD',
|
||||||
'kickstart': "fedora-docker-base.ks",
|
'kickstart': "fedora-docker-base.ks",
|
||||||
'repo': ["http://someextrarepos.org/repo", "ftp://rekcod.oi/repo].
|
'repo': ["http://someextrarepos.org/repo", "ftp://rekcod.oi/repo"],
|
||||||
'distro': 'Fedora-20',
|
'distro': 'Fedora-20',
|
||||||
'disk_size': 3,
|
'disk_size': 3,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user