zoukankan      html  css  js  c++  java
  • cloud.cfg_for_ubuntu

    user: default
    disable_root: false
    preserve_hostname: false
     
    cloud_init_modules:
     - bootcmd
     - resizefs
     - set_hostname
    #- update_hostname
     - update_etc_hosts
     - ca-certs
     - rsyslog
     - ssh
     
    cloud_config_modules:
     - disk-setup
     - mounts
     - ssh-import-id
     - locale
     - set-passwords
     - grub-dpkg
     - apt-pipelining
     - apt-update-upgrade
     - landscape
     - timezone
     - puppet
     - chef
     - salt-minion
     - mcollective
     - disable-ec2-metadata
     - runcmd
     - byobu
     
    cloud_final_modules:
     - rightscale_userdata
     - scripts-per-once
     - scripts-per-boot
     - scripts-per-instance
     - scripts-user
     - keys-to-console
     - phone-home
     - final-message
    users:
       - default
    disable_root: false
    preserve_hostname: false
     
    cloud_init_modules:
     - migrator
     - seed_random
     - bootcmd
     - write-files
     - growpart
     - resizefs
     - disk_setup
     - mounts
     - set_hostname
    #- update_hostname
     - update_etc_hosts
     - ca-certs
     - rsyslog
     - users-groups
     - ssh
     
    cloud_config_modules:
     - emit_upstart
     - ssh-import-id
     - locale
     - set-passwords
     - grub-dpkg
     - apt-pipelining
     - apt-configure
     - timezone
     - disable-ec2-metadata
     - runcmd
     - byobu
     
    cloud_final_modules:
     - package-update-upgrade-install
     - landscape
     - puppet
     - chef
     - salt-minion
     - mcollective
     - rightscale_userdata
     - scripts-vendor
     - scripts-per-once
     - scripts-per-boot
     - scripts-per-instance
     - scripts-user
     - ssh-authkey-fingerprints
     - keys-to-console
     - phone-home
     - final-message
     - power-state-change
     
    system_info:
       distro: ubuntu
       paths:
          cloud_dir: /var/lib/cloud/
          templates_dir: /etc/cloud/templates/
          upstart_dir: /etc/init/
       ssh_svcname: ssh
        
    datasource:
      OpenStack:
      metadata_urls: ["http://169.254.169.254"]
      max_wait: 120
      timeout: 10
      retries: 5
    users:
       - default
    disable_root: false
    preserve_hostname: false
     
    cloud_init_modules:
     - migrator
     - seed_random
     - bootcmd
     - write-files
     - growpart
     - resizefs
     - disk_setup
     - mounts
     - set_hostname
     #- update_hostname
     - update_etc_hosts
     - ca-certs
     - rsyslog
     - users-groups
     - ssh
     
    cloud_config_modules:
     - emit_upstart
     - snap_config
     - ssh-import-id
     - locale
     - set-passwords
     - grub-dpkg
     - apt-pipelining
     - apt-configure
     - ntp
     - timezone
     - disable-ec2-metadata
     - runcmd
     - byobu
     
    cloud_final_modules:
     - snappy
     - package-update-upgrade-install
     - fan
     - landscape
     - lxd
     - puppet
     - chef
     - salt-minion
     - mcollective
     - rightscale_userdata
     - scripts-vendor
     - scripts-per-once
     - scripts-per-boot
     - scripts-per-instance
     - scripts-user
     - ssh-authkey-fingerprints
     - keys-to-console
     - phone-home
     - final-message
     - power-state-change
     
    system_info:
       distro: ubuntu
       paths:
          cloud_dir: /var/lib/cloud/
          templates_dir: /etc/cloud/templates/
          upstart_dir: /etc/init/
       ssh_svcname: ssh
        
    datasource:
      OpenStack:
      metadata_urls: ["http://169.254.169.254"]
      max_wait: 120
      timeout: 10
      retries: 5
  • 相关阅读:
    MongoDB的C#官方驱动InvalidOperationException异常的解决办法
    MongoDB的TruncationException异常解决方法
    分享Db4o的便捷封装类源码
    EOL conversion in notepad ++
    Creating and deleting branches within your repository
    GitHub Desktop Contributing to projects Working with your remote repository on GitHub or GitHub Enterprise
    亚洲第二!上海交通大学密码学和计算机安全学科方向位CSRankings2019年全球第39和亚洲第2
    python/pandas数据挖掘(十四)-groupby,聚合,分组级运算
    详解 Cookie,Session,Token
    一文彻底搞懂Cookie、Session、Token到底是什么
  • 原文地址:https://www.cnblogs.com/gushiren/p/9512044.html
Copyright © 2011-2022 走看看