Help us understand the problem. What is going on with this article?

azure cloud-init を使ってみた


仮想マシンの作成 の カスタム データ に下記を入力

timezone: Asia/Tokyo
locale: ja_JP.utf8
package_upgrade: true
  - tmux
  - tree
  delay: "+10"
  mode: reboot
  message: Bye Bye
  timeout: 30
  - setenforce 0
  - sed -i -e 's/^\SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
  - systemctl stop firewalld
  - systemctl disable firewalld
  - systemctl restart rsyslog


  • 初回起動時から tmux がインストールされた状態である
  • firewalld が stop 状態である
  • /etc/selinux/config の SELINUX が disabled になっている
  • reboot は目視してないけど、/var/log/messages で shutdown と書いてあったので実行されているんだと思う


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away