Re: autoyast installation in Xen DomUs -- defining /etc/fstab ?

[email protected] Tue, 14 Feb 2017 07:06:34 -0800
Newsgroups gmane.linux.suse.autoinstall
Message-ID <1487084794.2532265.880619824.1854C38A@webmail.messagingengine.com>
Hi

On Tue, Feb 14, 2017, at 05:19 AM, Erico Mendonça wrote:
> Remember, in AutoYaST, less is more.

'less' is good.  Trying to get to the most straightfwd way to build, configure & deploy Xen guests withOUT excess.  For Opensuse at least pretty sure AY is part of the equation.

> Where in that case would I set the 'proc', 'sysfs', debugfs', & 'devpts'
> > mounts?  They're not *additional* partitions, and from the docs, for a
> > given partition I can only have one <mount>...</mount>.
> > <snip>
> 
> You shouldn't need it. IIRC, AutoYaST already adds these by default.

It adds them by default, but what if I change the default fstopts for those mounts, e.g.?  Or add an additional mount?

Atm, adding changes to the Guest's /etc/fstab, then creating/examining a reference profile show no trace of my change.  E.g., after adding

  /home/test/JUNK  /mnt/JUNK  none bind 0 0

to /etc/fstab, and re-creating a all-selected reference profile, I see no mention of the mount in the autoyast profile output.  Unclear whether I've missed something in the profile generation, or it's simply not dealt with.

> The easiest way would be to install the package yast2-autoyast on a machine
> that already has these entries defined in /etc/fstab. Then run "yast2
> autoyast", select "Hardware", "Partitioning", then hit "Clone".
> 
> You should be able to edit and export a valid XML.

Kindof cheating, rather than rtfm'in up-front, by hey -- it works!  Once I figure out the fstab bits ...
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]