-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvirtualmaster-firstboot.spec
More file actions
50 lines (41 loc) · 1.32 KB
/
virtualmaster-firstboot.spec
File metadata and controls
50 lines (41 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name: virtualmaster-firstboot
Version: 0.2
Release: 1
Summary: Configures network and users on first boot of VM
License: GPL
URL: http://www.virtualmaster.cz
Group: System/Boot
Source: virtualmaster-firstboot-%{version}.tar.gz
BuildRoot: %{_tmppath}/buildroot-%{name}-%{version}
BuildArch: noarch
%description
Configures network and users on first boot of VM
Virtualmaster package is a set of scripts to kickoff freshly installed
virtual machine. Most of tasks are performed only once, on first boot.
Idea of this package is to have one universal distro-independent config
file and then set of distro-specific packages (e.g. .deb, .rpm, .tgz).
Main tasks are:
- set up networking (IP, gateway, nameservers) on first booot
- resize root filesystem to actual size of partition
- ensure swap partition has swap signature
- set root's password
- optionaly create users and add ssh keys
%prep
%setup -q
%build
%install
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/libexec/*
/sbin/*
/usr/share/virtualmaster/*
%doc /usr/share/doc/virtualmaster-firstboot/*
%changelog
* Wed Aug 24 2011 Jan Dvořák <jd@vmin.cz> <0.2> <1>
- unified Debian and RedHat
- implemented IPv6 settings
* Fri Jun 26 2009 Josef Liska <jl@chl.cz> <0.1> <1>
- initial release