mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Xen-Image, fix config, readme, inittab/getty, change sizes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Howto install Ipfire as a paravirtualized DomU:
|
||||
|
||||
- download image
|
||||
- extract the downloaded file, be careful, you need at least 4gb
|
||||
- extract the downloaded file, be careful, you need at least 2gb
|
||||
- edit the file ipfire.cfg
|
||||
- start ipfire: "xm create ipfire.cfg"
|
||||
- if you get no errormessage go to console: "xm console ipfire-xen"
|
||||
|
||||
@@ -19,6 +19,6 @@ vif = [
|
||||
disk = [
|
||||
'file:/mnt/test/ipfire-boot.img,xvda1,w',
|
||||
'file:/mnt/test/ipfire-swap.img,xvda2,w',
|
||||
'file:/mnt/test/ipfire-root.img,xvda2,w',
|
||||
'file:/mnt/test/ipfire-var.img,xvda2,w'
|
||||
'file:/mnt/test/ipfire-root.img,xvda3,w',
|
||||
'file:/mnt/test/ipfire-var.img,xvda4,w'
|
||||
] #### Change path
|
||||
|
||||
@@ -55,7 +55,7 @@ IMGvar := /install/images/$(SNAME)/$(SNAME)-var.img
|
||||
SIZEboot := 30
|
||||
SIZEswap := 512
|
||||
SIZEroot := 512
|
||||
SIZEvar := 1024
|
||||
SIZEvar := 950
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
rm -rf $(MNThdd) $(IMGinst) $(IMGroot) && mkdir -p $(MNThdd)
|
||||
@@ -151,8 +151,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
echo xvc0 >> $(MNThdd)/etc/securetty
|
||||
|
||||
#Add getty for xvc0
|
||||
echo "#Enable login for XEN" >> $(MNThdd)/etc/securetty
|
||||
echo "8:2345:respawn:/sbin/agetty xvc0 9600" >> $(MNThdd)/etc/securetty
|
||||
echo "#Enable login for XEN" >> $(MNThdd)/etc/inittab
|
||||
echo "8:2345:respawn:/sbin/agetty xvc0 9600" >> $(MNThdd)/etc/inittab
|
||||
|
||||
#Disable some initskripts
|
||||
echo "#!/bin/sh" > $(MNThdd)/etc/rc.d/init.d/setclock
|
||||
|
||||
Reference in New Issue
Block a user