github.com/sentienttechnologies/studio-go-runner@v0.0.0-20201118202441-6d21f2ced8ee/examples/cloud/README.md (about)

     1   Validating the cloud-init schema
     2  
     3   cloud-init devel schema --config-file user-data
     4  
     5  
     6   https://blog.simos.info/how-to-preconfigure-lxd-containers-with-cloud-init/
     7  
     8  lxc profile copy default devprofile
     9  lxc profile show devprofile
    10  
    11  lxc profile set devprofile user.user-data "$( cat user-data )"
    12  
    13  lxc launch --profile devprofile ubuntu:18.04 junk
    14  
    15  lxc file pull junk/var/log/cloud-init.log -
    16  
    17  lxc delete junk --force