I have VirtualBox set up on a server. It was set up as a Bridged VM, and has an IP address. It's now running in headless mode, started with "VBoxHeadless -s PuppetMaster".
How can I find out what IP the VM is using VBoxManage?
I have VirtualBox set up on a server. It was set up as a Bridged VM, and has an IP address. It's now running in headless mode, started with "VBoxHeadless -s PuppetMaster".
How can I find out what IP the VM is using VBoxManage?
Is there a way to force puppet to do certain things first? For instance, I need it to install an RPM on all servers to add a yum repository (IUS Community) before I install any of the packages.
I build my rpms as such:
rpmbuild -bb SPECS/python.spec
With the following spec file:
%define _topdir /home/rpmbuild/python
%define name Python
%define release 1
%define version 2.6.4
%define buildroot %{_topdir}/%{name}-%{version}-root
BuildRoot: %{buildroot}
Summary: python
License: GPL
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.bz2
Group: Python
%description
Python, compiled by Jon Haddad for CentOS
%prep
%setup -q
%build
./configure --prefix=/usr/local
make
%install
%makeinstall
%files
%defattr(-,root,root)
/usr
Here's the error I get when I try to install:
[root@puppet rpms]# rpm -ivh Python-2.6.4-1.x86_64.rpm error: Failed dependencies: /home/rpmbuild/python/Python-2.6.4-root/usr/bin/python2.6 is needed by Python-2.6.4-1.x86_64 /usr/local/bin/python is needed by Python-2.6.4-1.x86_64 /usr/local/bin/python2.6 is needed by Python-2.6.4-1.x86_64
I really don't have any experience building my own RPMs, but I'm trying to set up a puppet server, and it seems to favor install via RPM. I need to use versions of software that aren't available as RPM yet on CentOS.
The RPM file is created in the RPM directory - but I have no idea what the error means.
Any ideas? Thanks in advance.
I'm using CentOS 5. How do I change the hostname of the machine so I can ssh to it from other boxes by a short hostname? I've tried "hostname puppet", changing "/etc/sysconfig/network" and "sysctl kernel.hostname=puppet". I'd like to be able to do this without making changes to any hostfiles.
Thanks.
Can anyone point me to a full example (tar/zip) directory of a Puppet manifest? I get the guides but it would be way easier just to look at a working directory.
I've got several VMs set up here, all running linux (mostly centos but 1 ubuntu). I connect to them over SSH, but it's annoying having to go back to the VM server to check on IP addresses. Also, on reboot they usually get a different IP due to the network setup here, which I have no control over.
What's the easiest way for me to track all the IPs that my VMs are using?
I've got a computer behind a firewall, a home desktop, and a server. I can reverse ssh tunnel to the server from computer_behind_firewall, and then
ssh localhost -p some_port
while on the server, but it doesn't work if I try to
ssh my_server -p some_port
from home. I've disabled iptables to make sure it's not a firewall issue, and that hasn't helped.
What do I need to make my Ménage à trois of servers work out?
Ideally I'd like to port forward http on certain requests to the machine behind the firewall.