Hi,
You have missed a ":" after the new image name.
lsdef -t osimage -z centos6.6-x86_64-install-compute | sed 's/^[^
]\+:/myosimage:/' | mkdef -z
Ling
Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692
External: [email protected], 845-433-5692
"I never worry about the future. It comes soon enough." --- Albert
Einstein
From: Kilian Cavalotti <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 02/25/2015 03:12 PM
Subject: [xcat-user] mkdef -z: "Error: No object names were
provided."
Hi,
I'm following the example from the manual, to duplicate a osimage
definition, and get the following error: "Error: No object names were
provided"
Command used, straight from
https://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Cluster_Quick_Start/#select-or-create-an-osimage-definition
# lsdef -t osimage
centos6.6-x86_64-install-all (osimage)
centos6.6-x86_64-install-compute (osimage)
centos6.6-x86_64-install-iscsi (osimage)
centos6.6-x86_64-install-kvm (osimage)
centos6.6-x86_64-install-storage (osimage)
centos6.6-x86_64-install-xen (osimage)
centos6.6-x86_64-netboot-compute (osimage)
centos6.6-x86_64-netboot-kvm (osimage)
centos6.6-x86_64-netboot-xen (osimage)
centos6.6-x86_64-statelite-compute (osimage)
centos6.6-x86_64-statelite-kvm (osimage)
centos6.6-x86_64-statelite-xen (osimage)
# lsdef -t osimage -z centos6.6-x86_64-install-compute | sed 's/^[^
]\+:/myosimage/' | mkdef -z
Error: No object names were provided.
More information:
# lsdef -t osimage -z centos6.6-x86_64-install-compute | sed 's/^[^
]\+:/myosimage/'
# <xCAT data object stanza file>
myosimage
objtype=osimage
imagetype=linux
osarch=x86_64
osdistroname=centos6.6-x86_64
osname=Linux
osvers=centos6.6
otherpkgdir=/install/post/otherpkgs/centos6.6/x86_64
pkgdir=/install/centos6.6/x86_64
pkglist=/opt/xcat/share/xcat/install/centos/compute.centos6.pkglist
profile=compute
provmethod=install
template=/opt/xcat/share/xcat/install/centos/compute.centos6.tmpl
# lsdef -v
lsdef - Version 2.9 (git commit
32345bc57c5b88b25448b7e89b31bd6d4e58b3ac, built Mon Dec 8 02:01:35
EST 2014)
Any idea what I'm missing?
Cheers,
--
Kilian
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user