文件操作 - cloud-config-install-packages.txt
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/cloud-init/examples/cloud-config-install-packages.txt
编辑文件内容
#cloud-config # Install additional packages on first boot # # Default: none # # if packages are specified, then package_update will be set to true # # packages may be supplied as a single package name or as a list # with the format [<package>, <version>] wherein the specific # package version will be installed. packages: - pwgen - pastebinit - [libpython2.7, 2.7.3-0ubuntu3.1]
修改文件时间
将文件时间修改为当前时间的前一年
删除文件