Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • templates
  • lxc-cirros.in
Find file
BlameHistoryPermalink
  • Serge Hallyn's avatar
    lxc-cirros: support creating+running unprivileged · 79716c06
    Serge Hallyn authored Oct 31, 2014
    Support creation and use of lxc-cirros by unprivileged users.
    
    If we detect we are an unprivileged user, then insist that we
    be in a userns with a id mapping.
    
    If we are in a userns, then don't extract /dev when extracting
    the rootfs.
    
    If we are not root, then save the tarball to ~/.cache/lxc/cirros
    instead of /var/cache/lxc/cirros.
    
    If we are not roo, then include entries to auto-mount proc and sys,
    as well as bind-mount devices.
    
    Cc: Scott Moser <smoser@ubuntu.com>
    Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
    79716c06
lxc-cirros.in 10.2 KB
EditWeb IDE
×

Replace lxc-cirros.in

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.