LXD(LXC) image directory mounted read-only(ro)
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I installed LXD on ubuntu 16.04 64bit and launched one ubuntu 16.04 container.
I just want to change apt repositories.
So I modified apt repository(/etc/apt/sources.list) and copy container.
When I start the copied container server that file was reset.
(/etc/apt/sources.list )
So I try to change image's original file.
(/var/lib/images/image_dir/rootfs/etc/apt/sources.list)
But that directory was mounted 'ro'.
(lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57 on /var/lib/lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57.zfs type zfs (ro,relatime,xattr,noacl))
How do I modify lxd images file?
lxc lxd
add a comment |Â
up vote
0
down vote
favorite
I installed LXD on ubuntu 16.04 64bit and launched one ubuntu 16.04 container.
I just want to change apt repositories.
So I modified apt repository(/etc/apt/sources.list) and copy container.
When I start the copied container server that file was reset.
(/etc/apt/sources.list )
So I try to change image's original file.
(/var/lib/images/image_dir/rootfs/etc/apt/sources.list)
But that directory was mounted 'ro'.
(lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57 on /var/lib/lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57.zfs type zfs (ro,relatime,xattr,noacl))
How do I modify lxd images file?
lxc lxd
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed LXD on ubuntu 16.04 64bit and launched one ubuntu 16.04 container.
I just want to change apt repositories.
So I modified apt repository(/etc/apt/sources.list) and copy container.
When I start the copied container server that file was reset.
(/etc/apt/sources.list )
So I try to change image's original file.
(/var/lib/images/image_dir/rootfs/etc/apt/sources.list)
But that directory was mounted 'ro'.
(lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57 on /var/lib/lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57.zfs type zfs (ro,relatime,xattr,noacl))
How do I modify lxd images file?
lxc lxd
I installed LXD on ubuntu 16.04 64bit and launched one ubuntu 16.04 container.
I just want to change apt repositories.
So I modified apt repository(/etc/apt/sources.list) and copy container.
When I start the copied container server that file was reset.
(/etc/apt/sources.list )
So I try to change image's original file.
(/var/lib/images/image_dir/rootfs/etc/apt/sources.list)
But that directory was mounted 'ro'.
(lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57 on /var/lib/lxd/images/6993a2a71664695810f0f84d063ec073e6d1d52cca78da05c4d8342cbaceac57.zfs type zfs (ro,relatime,xattr,noacl))
How do I modify lxd images file?
lxc lxd
edited Apr 2 at 1:19
asked Apr 2 at 1:11
Gooos
12
12
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434940%2flxdlxc-image-directory-mounted-read-onlyro%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password