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

    users:
     - default
     
    disable_root: 0
    ssh_pwauth:   1
     
    locale_configfile: /etc/sysconfig/i18n
    mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
    resize_rootfs_tmp: /dev
    ssh_deletekeys:   0
    ssh_genkeytypes:  ~
    syslog_fix_perms: ~
     
    cloud_init_modules:
     - resolv-conf
     - migrator
     - bootcmd
     - write-files
     - growpart
     - resizefs
     - set_hostname
    #- update_hostname
     - update_etc_hosts
     - rsyslog
     - users-groups
     - ssh
     
    cloud_config_modules:
    #- mounts
     - locale
     - set-passwords
     - yum-add-repo
     - package-update-upgrade-install
     - timezone
     - puppet
     - chef
     - salt-minion
     - mcollective
     - disable-ec2-metadata
     - runcmd
     
    cloud_final_modules:
     - rightscale_userdata
     - scripts-per-once
     - scripts-per-boot
     - scripts-per-instance
     - scripts-user
     - ssh-authkey-fingerprints
     - keys-to-console
     - phone-home
     - final-message
     
    system_info:
      default_user:
        name: centos
        lock_passwd: true
        gecos: Cloud User
        groups: [wheel, adm]
        sudo: ["ALL=(ALL) NOPASSWD:ALL"]
        shell: /bin/bash
      distro: rhel
      paths:
        cloud_dir: /var/lib/cloud
        templates_dir: /etc/cloud/templates
      ssh_svcname: sshd
    datasource:
      OpenStack:
      metadata_urls: ["http://169.254.169.254"]
      max_wait: 120
      timeout: 10
      retries: 5
    # vim:syntax=yaml
  • 相关阅读:
    C语言寒假大作战01
    C语言I作业12—学期总结
    C语言I博客作业11
    C语言I博客作业10
    非数值数据的编码方式
    定点数
    C语言||作业01
    C语言寒假大作战04
    C语言寒假大作战03
    C语言寒假大作战02
  • 原文地址:https://www.cnblogs.com/gushiren/p/9512033.html
Copyright © 2011-2022 走看看