<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MaaS on Wenhan blog</title>
    <link>https://wenhan.blog/zh/tags/maas/</link>
    <description>Recent content in MaaS on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 04 Jun 2018 16:19:39 +0000</lastBuildDate><atom:link href="https://wenhan.blog/zh/tags/maas/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>错误：容器创建失败：加载 raw.lxc 失败</title>
      <link>https://wenhan.blog/zh/posts/20180604_error-failed-container-creation-failed-to-load-raw-lxc/</link>
      <pubDate>Mon, 04 Jun 2018 16:19:39 +0000</pubDate>
      
      <guid>https://wenhan.blog/zh/posts/20180604_error-failed-container-creation-failed-to-load-raw-lxc/</guid>
      <description>我参考了以下链接尝试安装和测试 MaaS：
https://docs.maas.io/2.1/en/installconfig-lxd-install
在文档的 profile 编辑部分：
执行 lxc profile edit maas
将 config 后的 {} 替换为如下内容（不包括 config:）：
1 2 3 4 5 6 config: raw.lxc: |- lxc.cgroup.devices.allow = c 10:237 rwm lxc.apparmor.profile = unconfined lxc.cgroup.devices.allow = b 7:* rwm security.privileged: &amp;#34;true&amp;#34; 在 launch 步骤遇到如下报错：
1 2 3 $ lxc launch -p maas ubuntu:16.04 xenial-maas Creating xenial-maas Error: Failed container creation: Failed to load raw.lxc 这是因为我用的是 LXD 3.0，上述配置键已经过时。 根据这个评论，lxd 2.1 之后 lxc.</description>
    </item>
    
  </channel>
</rss>
