X7ROOT File Manager
Current Path:
/usr/share/doc/cloud-init/examples
usr
/
share
/
doc
/
cloud-init
/
examples
/
📁
..
📄
cloud-config-add-apt-repos.txt
(1.54 KB)
📄
cloud-config-apt.txt
(12.52 KB)
📄
cloud-config-archive-launch-index.txt
(802 B)
📄
cloud-config-archive.txt
(244 B)
📄
cloud-config-boot-cmds.txt
(634 B)
📄
cloud-config-ca-certs.txt
(1.07 KB)
📄
cloud-config-chef-oneiric.txt
(3.43 KB)
📄
cloud-config-chef.txt
(4.12 KB)
📄
cloud-config-datasources.txt
(2.43 KB)
📄
cloud-config-disk-setup.txt
(9.11 KB)
📄
cloud-config-final-message.txt
(252 B)
📄
cloud-config-gluster.txt
(456 B)
📄
cloud-config-growpart.txt
(980 B)
📄
cloud-config-install-packages.txt
(378 B)
📄
cloud-config-landscape.txt
(779 B)
📄
cloud-config-launch-index.txt
(594 B)
📄
cloud-config-lxd.txt
(1.76 KB)
📄
cloud-config-mcollective.txt
(2.44 KB)
📄
cloud-config-mount-points.txt
(1.46 KB)
📄
cloud-config-ntp.txt
(835 B)
📄
cloud-config-phone-home.txt
(364 B)
📄
cloud-config-power-state.txt
(1.58 KB)
📄
cloud-config-puppet.txt
(2.13 KB)
📄
cloud-config-reporting.txt
(405 B)
📄
cloud-config-resolv-conf.txt
(527 B)
📄
cloud-config-rh_subscription.txt
(1.43 KB)
📄
cloud-config-rsyslog.txt
(1.44 KB)
📄
cloud-config-run-cmds.txt
(964 B)
📄
cloud-config-salt-minion.txt
(2.35 KB)
📄
cloud-config-seed-random.txt
(1.25 KB)
📄
cloud-config-ssh-keys.txt
(3.21 KB)
📄
cloud-config-update-apt.txt
(252 B)
📄
cloud-config-update-packages.txt
(143 B)
📄
cloud-config-user-groups.txt
(5.54 KB)
📄
cloud-config-vendor-data.txt
(561 B)
📄
cloud-config-write-files.txt
(1.11 KB)
📄
cloud-config-yum-repo.txt
(683 B)
📄
cloud-config.txt
(21.23 KB)
📄
include-once.txt
(353 B)
📄
include.txt
(237 B)
📄
kernel-cmdline.txt
(839 B)
📄
part-handler-v2.txt
(1.53 KB)
📄
part-handler.txt
(834 B)
📄
plain-ignored.txt
(68 B)
📁
seed
📄
upstart-cloud-config.txt
(182 B)
📄
upstart-rclocal.txt
(217 B)
📄
user-script.txt
(125 B)
Editing: cloud-config-rsyslog.txt
## the rsyslog module allows you to configure the systems syslog. ## configuration of syslog is under the top level cloud-config ## entry 'rsyslog'. ## ## Example: #cloud-config rsyslog: remotes: # udp to host 'maas.mydomain' port 514 maashost: maas.mydomain # udp to ipv4 host on port 514 maas: "@[10.5.1.56]:514" # tcp to host ipv6 host on port 555 maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555" configs: - "*.* @@192.158.1.1" - content: "*.* @@192.0.2.1:10514" filename: 01-example.conf - content: | *.* @@syslogd.example.com config_dir: /etc/rsyslog.d config_filename: 20-cloud-config.conf service_reload_command: [your, syslog, reload, command] ## Additionally the following legacy format is supported ## it is converted into the format above before use. ## rsyslog_filename -> rsyslog/config_filename ## rsyslog_dir -> rsyslog/config_dir ## rsyslog -> rsyslog/configs # rsyslog: # - "*.* @@192.158.1.1" # - content: "*.* @@192.0.2.1:10514" # filename: 01-example.conf # - content: | # *.* @@syslogd.example.com # rsyslog_filename: 20-cloud-config.conf # rsyslog_dir: /etc/rsyslog.d ## to configure rsyslog to accept remote logging on Ubuntu ## write the following into /etc/rsyslog.d/20-remote-udp.conf ## $ModLoad imudp ## $UDPServerRun 514 ## $template LogRemote,"/var/log/maas/rsyslog/%HOSTNAME%/messages" ## :fromhost-ip, !isequal, "127.0.0.1" ?LogRemote ## then: ## sudo service rsyslog restart
Upload File
Create Folder