cobbler repo add --name=CentOS-5.3-i386-updates --mirror=http://mirror3.mirror.garr.it/mirrors/CentOS/5.3/updates/i386/

Create new repo in Cobbler for CentOS 5.3 updates

Add a repo to cobbler. To download all the repository contents the command is: cobbler reposync

-1
By: w00binda
2009-04-27 10:18:45

These Might Interest You

  • This is the command to configure "cobbler reposync" to use a specific proxy setting to mirror locally the content of a specific remote repository.


    0
    cobbler repo edit --name=Epel-i386 --environment="http_proxy=http://100.100.100.100:3128"
    w00binda · 2010-05-11 13:52:43 0
  • This probably only works without modifications in RHEL/CentOS/Fedora. Show Sample Output


    0
    sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n
    eddieb · 2012-09-06 00:09:09 0
  • A script that checks if your environment is correctly configured for using cobbler. Show Sample Output


    -3
    cobbler check
    w00binda · 2009-04-27 10:28:29 0
  • Fix's centos 6.2 yum's error: could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was 14: PYCURL ERROR 77 - "Problem with the SSL CA cert (path? access rights?)" Error: Cannot retrieve metalink for repository: epel-source. Please verify its path and try again


    1
    curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
    mokico · 2013-02-10 18:06:20 0
  • How to list just one repo with yum. First I disable all repo, second I enable just the repo that I want to list.


    4
    yum --disablerepo=* --enablerepo=epel list available
    w00binda · 2010-05-19 13:26:39 0
  • Update a Mandriva Linux system with any pending updates. This command needs to be run with root privilege. Using the "--force" option answers "yes" to any interactive prompts thus allowing the updates to be left unattended to completion. NB if there is an update for glibc and/or a new kernel then the system would need to be rebooted for these to take effect. A prerequisite for running "urpmi --auto-update" is to have correctly defined urpmi media sources (which can be done by visiting http://easyurpmi.zarb.org/). If there are no new updates the the message "Packages are up to date" is shown. Show Sample Output


    0
    urpmi --auto-update --force # apply all pending updates (Mandriva Linux)
    mpb · 2009-03-28 14:59:26 0

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: