Welcome to the Linux Foundation Forum!

Crawling through Lab 19.4. Use cloud-init to Customize a VM Image

So far I have had some issues with a few of the labs in this course, but this one has me stumped. Nearly every command I run in terminal comes up with an error.

Currently, I am stuck on Step 5:

  1. Build the iso image file using the config files as input:
    $ cloud-localds -v --network-config=network_config_static.cfg test1-seed.qcow2 cloud_init.cfg

I am receiving an error:

cp: cannot stat 'network_config_static.cfg': No such file or directory
failed to copy network config

Is there something I am missing here? Any suggestions or articles that could lead me to the solution would be appreciated.

Thanks,
Matt

Comments

  • Hi @mcmacd86,

    I was able to reproduce the issue; file network_config_static.cfg is missing, so the cloud-localds command doesn't work. I'm looking at this and will let you know as soon as it's solved.

    Regards,
    Luis.

  • fcioanca
    fcioanca Posts: 1,644

    Hi @mcmacd86
    Please check the Course Resources page in the introductory chapter. You will see the link and credentials to access the course resources. The file you are looking for is in the SOLUTIONS directory. I hope this helps

  • Hi @mcmacd86,

    As Flavia mentioned, the file can be found in the SOLUTIONS directory. Please get the file that ends with *SOLUTIONS.tar.xz, untar/uncompress it and you will find the file in the SOLUTIONS/s_19/ subdirectory.

    Regards,
    Luis.

Categories

Upcoming Training