Skip to content

Tag: centos7

Print only a part of the result of a command

I am trying to obtain the status of a httpd service with Centos 7. I want to know if i can print only the value of Active, that in this example is inactive (dead) This is the command that i am using: This is the result of that command. This is the output that i a want: inactive (dead). Answer

lxc-clone not working with overlayfs in centos 7

I have created a container say base and I am trying to create a clone of the base container with backing store as overlayfs. But it always fails with the following error, Any way to resolve this issue? Thanks, Vishnu Ganth Answer It sounds as if they overlay filesystem is not available in your kernel. First, …