<?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>Ubuntu on Wenhan blog</title>
    <link>https://wenhan.blog/en/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Tue, 31 Mar 2020 10:04:31 +0900</lastBuildDate><atom:link href="https://wenhan.blog/en/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Multipass Launch Failed by Network Timeout</title>
      <link>https://wenhan.blog/en/posts/20200331_multipass-launch-failed-by-network-timeout/</link>
      <pubDate>Tue, 31 Mar 2020 10:04:31 +0900</pubDate>
      
      <guid>https://wenhan.blog/en/posts/20200331_multipass-launch-failed-by-network-timeout/</guid>
      <description>Multipass is a very useful tools to create Ubuntu VM instance. It will provides a CLI to launch and manage the Linux instances. The downloading of a cloud image is also automatically, and a VM can be up and running within minutes.
https://multipass.run/
But in my case, I tried multipass 1.1.0 to quick launch an instance, but it failed with a Network timeout error.
1 2 3 4 5 6 $ multipass version multipass 1.</description>
    </item>
    
    <item>
      <title>[Juju] Use juju to deploy minecraft server in LXD</title>
      <link>https://wenhan.blog/en/posts/20180628_juju-use-juju-to-deploy-minecraft-server-in-lxd/</link>
      <pubDate>Thu, 28 Jun 2018 17:01:36 +0000</pubDate>
      
      <guid>https://wenhan.blog/en/posts/20180628_juju-use-juju-to-deploy-minecraft-server-in-lxd/</guid>
      <description>Juju is a deploy tool which supports a very wide range of cloud providers, like AWS, Azure, Google Cloud Platform, MAAS and LXD. This artcle will focus on how to build an OpenStack test environment using Juju and LXD.
installing LXD It is very easy to install LXD, just run below command
1 sudo apt-install lxd If you can&amp;rsquo;t find lxd package, run below command to add PPA(Personal Package Archive) to find LXD package.</description>
    </item>
    
    <item>
      <title>Suspend issue on Thinkpad X1C 6th with Ubuntu 18.04</title>
      <link>https://wenhan.blog/en/posts/20180611_suspend-issue-on-thinkpad-x1c-6th-with-ubuntu-18-04/</link>
      <pubDate>Mon, 11 Jun 2018 15:38:10 +0000</pubDate>
      
      <guid>https://wenhan.blog/en/posts/20180611_suspend-issue-on-thinkpad-x1c-6th-with-ubuntu-18-04/</guid>
      <description>S3 Suspend not supported by default There is an issue about suspend on Thinkpad X1 Carbon when using Ubuntu 18.04. When you close the lid suspend does not works well. It will continue cose some power and get you laptop hot.
The root cause is the 6th gen X1 Carbon supports S0i3(Which is also known as Windows Modern Standby) but does not support the S3 sleep state.
S0i3 sleep support After some researching, the workaround can be this:</description>
    </item>
    
    <item>
      <title>Error: Failed container creation: Failed to load raw.lxc</title>
      <link>https://wenhan.blog/en/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/en/posts/20180604_error-failed-container-creation-failed-to-load-raw-lxc/</guid>
      <description>I follow below URL to try to install and test MaaS,
https://docs.maas.io/2.1/en/installconfig-lxd-install
At the profile edit part, from above documents
lxc profile edit maas
replace the {} after config with the following (excluding config:):
1 2 3 4 5 6 config: raw.lxc: |- lxc.cgroup.devices.allow = c 10:237 rwm lxc.aa_profile = unconfined lxc.cgroup.devices.allow = b 7:* rwm security.privileged: &amp;#34;true&amp;#34; At the launch step, I hit below issue,
1 2 3 $ lxc launch -p maas ubuntu:16.</description>
    </item>
    
  </channel>
</rss>
