Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I set default_target to graphical.target? #366

Open
stonefly128 opened this issue Dec 19, 2018 · 2 comments
Open

Can I set default_target to graphical.target? #366

stonefly128 opened this issue Dec 19, 2018 · 2 comments

Comments

@stonefly128
Copy link

stonefly128 commented Dec 19, 2018

I worked on rpm-ostree 2018.5,and added gnome packages in centos-atomic-host.json, also modified default_target: "graphical.target". After I composeed tree, and rpm-ostree rebased to the new repo, the atomic host still run in multi-user.target. But, the atomic host will work run in graphical.target after "systemctl set-default graphical.target".
I want to know what's wrong with my procedure, thank you.

@cgwalters
Copy link
Member

It's default_target, not default_targets. Does that help?

@stonefly128
Copy link
Author

stonefly128 commented Dec 20, 2018

@cgwalters Thanks for your reply.
Sorry, I made a mistake when describing the question, actually, the json is:

                 ...
                 "attr",
                 "container-storage-setup",
                 "firewalld"],
    "units": ["docker.service", "tuned.service", "ostree-remount.service", "docker-storage-setup.service"],
    "default_target": "graphical.target"
}

So, it's not help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants