× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I had never heard of this, so just started to research this. Is this
something similar to cloning a vm.

On Wed, Apr 8, 2020 at 12:20 PM Roberto José Etcheverry Romero <
yggdrasil.raiker@xxxxxxxxx> wrote:

Miguel,
That link is referenced in my initial email as the only "howto" regarding
cloud-init. Since my LPAR is running on POWER7 hardware, I did run that
command.
I cannot play with the LPAR right now, but I'll be testing the write
command on cloud.cfg tomorrow.

Roberto

On Wed, Apr 8, 2020 at 1:08 PM Miguel Peralta <mperalta8@xxxxxxxxxxx>
wrote:

Hi, you see these link?:

https://www.ibm.com/support/pages/cloud-init-support-ibm-i

You run these command?:

*How to enable the cloud-init on IBM i?*
To enable the cloud-init on an IBM i machine manually, run CALL
PGM(QSYS/QAENGCHG) PARM(*ENABLECI) on the virtual machine.


On 08/abr./2020 10:23 a. m., Roberto José Etcheverry Romero wrote:
Hi all,

I've been playing around with PowerVC after attending a course on it
and
since it supports IBM i and the course didn't cover it, I decided to
test
it myself.

I built a 7.3 IBM i LPAR, updated with latest cumulative and groups,
including the recommended PTFs for all products. Afterwards I installed
all
the open source packages thru the ACS tool.

Finally, I installed cloud-init as per the only instructions available
in
the IBM site (
https://www.ibm.com/support/pages/cloud-init-support-ibm-i
)

I edited the cloud.cfg file and added the line about setting the
hostname
from the reversedns (PowerVC assigns an IP from the pool and when the
system IPLs it does a reverse DNS search to obtain the hostname).

Finally I shutdown the LPAR and do a capture from PowerVC.

Now, when I deploy the template and IPL the new LPAR, I find that it's
not
doing any initialization at all, hostname, system name, etc stay the
same.
A lot of messages about missing paths for disks and missing devices are
logged. The ethernet line that should be fixed to the new CMN object
still
references the old and the IP address is still the former one.

So, has anybody worked with Cloud-init for IBM i?
For my next test I'll add the line about writing a file to cloud.cfg to
check if it is actually running on the first run.

Best Regards,

Roberto
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.