代码之家  ›  专栏  ›  技术社区  ›  Brad

使用cloud init write_文件附加

  •  0
  • Brad  · 技术社区  · 6 年前

    使用时 write_files 使用cloud init,是否可以附加内容?如果是这样,怎么办?

    write_files: [
      {
        "path": "/home/user/some-file",
        "content": "\nLine to append!"
      }
    ]
    
    1 回复  |  直到 6 年前
        1
  •  1
  •   James Baxter    6 年前

    现在你看不到 source here .

    我添加了功能并提出 a merge request .