摘要: 题目 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each 阅读全文
posted @ 2022-05-17 19:52 frankming 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 源码分析 代码结构 cloud-init的代码结构如下: cloud-init ├── bash_completion # bash自动补全文件 │ └── cloud-init ├── ChangeLog # 更新日志 ├── cloudinit │ ├── cloud.py # Cloud类 │ 阅读全文
posted @ 2022-05-17 17:13 frankming 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 项目简介 cloud-init是一款用于初始化云服务器的工具,它拥有丰富的模块,能够为云服务器提供的能力有:初始化密码、扩容根分区、设置主机名、注入公钥、执行自定义脚本等等,功能十分强大。 目前为止cloud-init是云服务器初始化工具中的事实标准,它几乎适用于所有主流的Linux发行版,也是各大 阅读全文
posted @ 2022-05-17 16:51 frankming 阅读(5912) 评论(0) 推荐(1) 编辑