+Support for: $W->{"css_push"}
[www.jankratochvil.net.git] / project / captive / TestimonialBrunoSantos.pm
1 # $Id$
2 # Captive project TestimonialBrunoSantos page Perl template.
3 # Copyright (C) 2004-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 package project::captive::TestimonialBrunoSantos;
20 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
21 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
22 our $CVS_ID=q$Id$;
23 use strict;
24 use warnings;
25
26 use My::Web;
27 Wrequire 'project::Lib';
28
29
30 sub handler
31 {
32 My::Web->init(
33                 "title"=>'Captive NTFS - Hospital of Castelo Branco',
34                 "css_push"=>"./Lib.css",
35                 "heading_novskip"=>1,
36                 "no_job"=>1,
37                 );
38 My::Web->heading();
39 print project::Lib->section("captive");
40
41
42 print <<'HERE';
43 <h1>Captive NTFS - Hospital of Castelo Branco</h1>
44
45 <p>Hello Lace,</p>
46
47 <p>Let me explain this NFS.</p>
48
49 <p>I'm working on Hospital of Castelo Branco, Portugal, in the computers
50 division.</p>
51
52 <p>The Hospital is big (about 1000 workers), and we have a lot of machines,
53 since P II to P IV, everyone working with windows2000. (except 45 that are
54 working with ltsp).</p>
55
56 <p>we are preparing the machines to install another system that will allow the
57 digitalization of medical images - PACS (picture archive and communication
58 system).</p>
59
60 <p>since the computers that are need are about 100 and we need to install
61 windows in all of them (even we have an almost automated instalation - but
62 requires some administrator interaction). So, we want to install windows2000
63 without pressing a key.</p>
64
65 <p>So, the computers boot with PXE, and, run the minimal Fedora instalation,
66 that is provided by the NFS. before going to shell, it runs a script that erase
67 all the disk, creates a partition, restores a previous image of windows2000,
68 and thanks to captive-ntfs, mounts the ntfs partition and replaces several
69 lines on a configuration file. (the windows on the images is in a "unattented
70 instalation". means that only asks for the computer name when it boots for the
71 first time).  since the computer (alredy registered in dhcp), as a hostname
72 during the boot of fedora, i take that name and insert it in the configuration
73 file of windows 2000. umount the windows partition, reboot the machine and when
74 is boots again, windows is ready (after another reboot) to work !!!  Is nice,
75 since the machines are a lot and our time is short !!!</p>
76
77 <p>Well, this is why the captive-ntfs !! the error i report the other day, is
78 because on exports is the NFS is exported as: (ro,no_root_squash,sync). i guess
79 is because of this why we need to do the chmod -t / for captive to work !!</p>
80
81 <p>We have no lack of security, since this is only to install  windows and is
82 for a small number of machines (everyone as a MAC address that is very similar
83 and only those are allowed to boot with PXE that installs windows).</p>
84
85 <p>Well, after the history of my life (just kidding), you know why we use
86 captive-ntfs !! By the way, if you want to put our use of captive in the web
87 page, go for it (i tell u this, cause i've seen some testimonials) !!!</p>
88
89 <p>best regards !!!</p>
90
91 <p>Bruno Santos</p>
92 <p>Divisao de Informatica e Telecomunicacoes<br />
93 Hospital Amato Lusitano<br />
94 Av. Pedro Alvares Cabral<br />
95 6000-085 Castelo Branco</p>
96 HERE
97
98
99 My::Web->footer();
100 }
101 1;